Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Sep 5, 2024
1 parent 0c17f91 commit 0381a7c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/AutoPollConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ export class AutoPollConfigService extends ConfigServiceBase<AutoPollOptions> im
}

private async refreshWorkerLogic(isFirstIteration: boolean, initialCacheSyncUp: ProjectConfig | Promise<ProjectConfig> | null) {
if (this.disposed) {
this.options.logger.debug("AutoPollConfigService.refreshWorkerLogic() - called on a disposed client.");
return;
}

this.options.logger.debug("AutoPollConfigService.refreshWorkerLogic() - called.");

const latestConfig = await (initialCacheSyncUp ?? this.options.cache.get(this.cacheKey));
Expand Down

0 comments on commit 0381a7c

Please sign in to comment.