Skip to content

Commit

Permalink
fix: do not initialize cache when flag is off
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Dec 12, 2024
1 parent 001d0c9 commit 34fafae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class ClientFeatureToggleCache {
this.flagResolver = flagResolver;
this.onUpdateRevisionEvent = this.onUpdateRevisionEvent.bind(this);

// this.initCache(); TODO: we dont want to initialize cache on startup, but ondemand?
// this.initCache(); TODO: we dont want to initialize cache on startup, but ondemand in future?
this.configurationRevisionService.on(
UPDATE_REVISION,
this.onUpdateRevisionEvent,
Expand Down

0 comments on commit 34fafae

Please sign in to comment.