diff --git a/src/lib/features/client-feature-toggles/cache/client-feature-toggle-cache.ts b/src/lib/features/client-feature-toggles/cache/client-feature-toggle-cache.ts index cb970fc78413..249190077079 100644 --- a/src/lib/features/client-feature-toggles/cache/client-feature-toggle-cache.ts +++ b/src/lib/features/client-feature-toggles/cache/client-feature-toggle-cache.ts @@ -177,11 +177,11 @@ export class ClientFeatureToggleCache { private async onUpdateRevisionEvent() { if (this.flagResolver.isEnabled('deltaApi')) { - await this.pollEvents(); + await this.listenToRevisionChange(); } } - public async pollEvents() { + public async listenToRevisionChange() { const keys = Object.keys(this.cache); if (keys.length === 0) return;