diff --git a/packages/twenty-server/src/engine/workspace-cache-storage/workspace-cache-storage.service.ts b/packages/twenty-server/src/engine/workspace-cache-storage/workspace-cache-storage.service.ts index d549f14c17..dabb3b4676 100644 --- a/packages/twenty-server/src/engine/workspace-cache-storage/workspace-cache-storage.service.ts +++ b/packages/twenty-server/src/engine/workspace-cache-storage/workspace-cache-storage.service.ts @@ -17,6 +17,8 @@ export enum WorkspaceCacheKeys { MetadataVersion = 'metadata:workspace-metadata-version', } +const TTL_INFINITE = 0; + @Injectable() export class WorkspaceCacheStorageService { constructor( @@ -51,6 +53,7 @@ export class WorkspaceCacheStorageService { return this.cacheStorageService.set( `${WorkspaceCacheKeys.MetadataVersion}:${workspaceId}`, metadataVersion, + TTL_INFINITE, ); }