Redis and session timeout added

This commit is contained in:
Torsten Schulz
2024-10-27 14:15:44 +01:00
parent 7f8709516d
commit b78dfe6826
9 changed files with 320 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
import { cleanupExpiredSessions } from '../utils/redis.js';
setInterval(async () => {
await cleanupExpiredSessions();
}, 5000);