From f13b82bdf6fecc39d514aee41f94a68069ec9d5d Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 6 Jul 2021 16:14:40 +0530 Subject: [PATCH] disable integrated eviction by default we'll implement an admin panel checkbox to enable it later --- lib/env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/env.js b/lib/env.js index 141e028ae..3d58f11f7 100644 --- a/lib/env.js +++ b/lib/env.js @@ -123,7 +123,7 @@ module.exports.create = function (config) { maxWorkers: config.maxWorkers, disableIntegratedTasks: config.disableIntegratedTasks || false, - disableIntegratedEviction: config.disableIntegratedEviction || true, // XXX false, + disableIntegratedEviction: typeof(config.disableIntegratedEviction) === 'undefined'? true: config.disableIntegratedEviction, // XXX false, lastEviction: +new Date(), evictionReport: {}, commandTimers: {},