From 4ac2d8df46039239155af56ee3427af741f42714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 13 Dec 2018 10:08:37 +0100 Subject: [PATCH] bump db default autosave to every 5 seconds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.js b/src/server.js index febbb20..ac13b84 100644 --- a/src/server.js +++ b/src/server.js @@ -11,7 +11,7 @@ const GH_TOKEN = process.env.GH_TOKEN || null const GH_REPO_OWNER = 'status-im' const GH_REPO_NAME = 'status-react' const DB_PATH = '/tmp/builds.db' -const DB_SAVE_INTERVAL = 1000 +const DB_SAVE_INTERVAL = 5000 /* to store current builds bound to a PR */ const builds = new Builds(DB_PATH, DB_SAVE_INTERVAL)