From 955fda6e1c1d2c669d43434282c4f19720eb801f Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 3 Aug 2024 15:29:09 +0100 Subject: [PATCH] also allow `db.disableCache` --- packages/backend/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index f91791cc54..9596b3a722 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -438,7 +438,7 @@ function applyEnvOverrides(config: Source) { // these are all the settings that can be overridden _apply_top([['url', 'port', 'socket', 'chmodSocket', 'disableHsts', 'id', 'dbReplications']]); - _apply_top(['db', ['host', 'port', 'db', 'user', 'pass']]); + _apply_top(['db', ['host', 'port', 'db', 'user', 'pass', 'disableCache']]); _apply_top(['dbSlaves', Array.from((config.dbSlaves ?? []).keys()), ['host', 'port', 'db', 'user', 'pass']]); _apply_top([ ['redis', 'redisForPubsub', 'redisForJobQueue', 'redisForTimelines'],