move enable redis to flag

This commit is contained in:
miloschwartz
2025-06-15 13:24:51 -04:00
parent 139c9d2ce3
commit af32dfbbcd
2 changed files with 233 additions and 222 deletions

View File

@@ -14,7 +14,7 @@ class RedisManager {
> = new Map();
private constructor() {
this.isEnabled = config.getRawConfig().redis?.enabled || false;
this.isEnabled = config.getRawConfig().flags?.enable_redis || false;
if (this.isEnabled) {
this.initializeClients();
}