mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 20:02:26 +00:00
move enable redis to flag
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user