bump db default autosave to every 5 seconds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1cdf5ae8c2
commit
4ac2d8df46
|
@ -11,7 +11,7 @@ const GH_TOKEN = process.env.GH_TOKEN || null
|
||||||
const GH_REPO_OWNER = 'status-im'
|
const GH_REPO_OWNER = 'status-im'
|
||||||
const GH_REPO_NAME = 'status-react'
|
const GH_REPO_NAME = 'status-react'
|
||||||
const DB_PATH = '/tmp/builds.db'
|
const DB_PATH = '/tmp/builds.db'
|
||||||
const DB_SAVE_INTERVAL = 1000
|
const DB_SAVE_INTERVAL = 5000
|
||||||
|
|
||||||
/* to store current builds bound to a PR */
|
/* to store current builds bound to a PR */
|
||||||
const builds = new Builds(DB_PATH, DB_SAVE_INTERVAL)
|
const builds = new Builds(DB_PATH, DB_SAVE_INTERVAL)
|
||||||
|
|
Loading…
Reference in New Issue