bump db default autosave to every 5 seconds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-12-13 10:08:37 +01:00
parent 1cdf5ae8c2
commit 4ac2d8df46
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -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)