add redis rate limiter

This commit is contained in:
miloschwartz
2025-06-19 16:57:54 -04:00
parent 377eb2b851
commit 494b54ac32
6 changed files with 56 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ import config from "@server/lib/config";
class RedisManager {
private static instance: RedisManager;
private client: Redis | null = null;
public client: Redis | null = null;
private subscriber: Redis | null = null;
private publisher: Redis | null = null;
private isEnabled: boolean = false;