Files
twenty/server/src/integrations/memory-storage/memory-storage.util.ts
Jérémy M dd125ddfcc feat: add memory cache to boost performance (#2620)
* feat: add memory cache to boost performance

* fix: tests

* fix: logging

* fix: missing commented stuff
2023-11-21 18:29:31 +01:00

6 lines
230 B
TypeScript

import { MEMORY_STORAGE_SERVICE } from 'src/integrations/memory-storage/memory-storage.constants';
export const createMemoryStorageInjectionToken = (identifier: string) => {
return `${MEMORY_STORAGE_SERVICE}_${identifier}`;
};