From 3ff40df1b855a79cd2b167e47943a120393f38dc Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 10 Sep 2019 17:32:10 +0200 Subject: [PATCH] change server from PACKAGE mode to FRESH mode when you flush the cache --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 93d4f7af8..f4eb9d7e1 100644 --- a/server.js +++ b/server.js @@ -62,6 +62,7 @@ if (process.env.PACKAGE) { config.flushCache = function () { FRESH_KEY = +new Date(); + if (!(DEV_MODE || FRESH_MODE)) { FRESH_MODE = true; } if (!config.log) { return; } config.log.info("UPDATING_FRESH_KEY", FRESH_KEY); };