diff --git a/src/index.ts b/src/index.ts index 8bd4194..0ca21a3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -125,7 +125,7 @@ export async function init(config: IClientConfig): Promise { // we estimate this will use no more than 10 MB of memory // and should be appropriate for most server-side use cases. clientInstance.useLRUInMemoryAssignmentCache(50_000); - clientInstance.useLRUInMemoryBanditAssignmentCache(50_000); + clientInstance.useTLRUInMemoryAssignmentCache(50_000); // Fetch configurations (which will also start regular polling per requestConfiguration) await clientInstance.fetchFlagConfigurations();