Files
twenty/packages/twenty-server/src/engine/workspace-cache/workspace-cache.module.ts
T
WeikoandGitHub 1eb2e44058 Refactor workspace cache service (#16208)
## Context
We've recently introduced a new workspace cache service which now acts
as a cache access and local storage for all workspace related data,
deprecating the individual specific services.
- Better performance through multiple caching/fetching strategies
- Consistent data access patterns across the codebase
- Reduced redis queries through MGET/MSET/PIPELINE with multiple cache
keys
2025-12-01 17:08:21 +01:00

13 lines
463 B
TypeScript

import { Module } from '@nestjs/common';
import { DiscoveryModule } from '@nestjs/core';
import { CacheStorageModule } from 'src/engine/core-modules/cache-storage/cache-storage.module';
import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
@Module({
imports: [CacheStorageModule, DiscoveryModule],
providers: [WorkspaceCacheService],
exports: [WorkspaceCacheService],
})
export class WorkspaceCacheModule {}