Browse Source

setting LEDGER_SYNC_MAX_CONCURRENT=1

master
Gaëtan Renaudeau 7 years ago
parent
commit
c2c19f8cf5
  1. 2
      src/config/constants.js

2
src/config/constants.js

@ -17,7 +17,7 @@ const stringFromEnv = (key: string, def: string): string => process.env[key] ||
export const GET_CALLS_TIMEOUT = intFromEnv('GET_CALLS_TIMEOUT', 30 * 1000)
export const GET_CALLS_RETRY = intFromEnv('GET_CALLS_RETRY', 2)
export const SYNC_MAX_CONCURRENT = intFromEnv('LEDGER_SYNC_MAX_CONCURRENT', 6)
export const SYNC_MAX_CONCURRENT = intFromEnv('LEDGER_SYNC_MAX_CONCURRENT', 1)
export const SYNC_BOOT_DELAY = 2 * 1000
export const SYNC_ALL_INTERVAL = 120 * 1000
export const GENUINE_TIMEOUT = intFromEnv('GENUINE_TIMEOUT', 120 * 1000)

Loading…
Cancel
Save