mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 16:52:08 +01:00
feat: implement cache layer, CSP improvements, and database performance optimizations
- Add Redis cache implementation with LRU eviction - Enhance Content Security Policy with nonce generation - Optimize database queries with connection pooling - Add cache invalidation API endpoints - Improve security monitoring performance
This commit is contained in:
@ -8,7 +8,7 @@ import {
|
||||
} from "./securityAuditLogger";
|
||||
|
||||
export class AuditLogScheduler {
|
||||
private retentionTask: cron.ScheduledTask | null = null;
|
||||
private retentionTask: any = null;
|
||||
private isRunning = false;
|
||||
|
||||
constructor() {
|
||||
@ -71,7 +71,6 @@ export class AuditLogScheduler {
|
||||
}
|
||||
},
|
||||
{
|
||||
scheduled: false, // Don't start immediately
|
||||
timezone: "UTC", // Use UTC to avoid timezone issues
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user