mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 02:25:01 +08:00
default cache expiration
This commit is contained in:
@@ -50,6 +50,7 @@ try {
|
|||||||
const redisUrl = environmentService.getRedisUrl();
|
const redisUrl = environmentService.getRedisUrl();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
ttl: 5 * 1000,
|
||||||
stores: [new KeyvRedis(redisUrl)],
|
stores: [new KeyvRedis(redisUrl)],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user