2019-05-06 14:12:53 +03:00
|
|
|
const baseConfig = require('./base.config')
|
|
|
|
|
2021-03-18 06:48:40 +03:00
|
|
|
const { DEFAULT_TRANSACTION_RESEND_INTERVAL } = require('../src/utils/constants')
|
2020-12-20 01:10:47 +03:00
|
|
|
const { web3Home, web3HomeRedundant, web3HomeFallback } = require('../src/services/web3')
|
2019-05-06 14:12:53 +03:00
|
|
|
|
2021-03-18 06:48:40 +03:00
|
|
|
const { ORACLE_HOME_TX_RESEND_INTERVAL } = process.env
|
|
|
|
|
2019-05-06 14:12:53 +03:00
|
|
|
module.exports = {
|
2021-05-09 16:34:19 +03:00
|
|
|
...baseConfig,
|
2020-09-12 17:01:37 +03:00
|
|
|
queue: 'home-prioritized',
|
2019-05-06 14:12:53 +03:00
|
|
|
id: 'home',
|
|
|
|
name: 'sender-home',
|
2020-10-28 14:20:50 +03:00
|
|
|
web3: web3Home,
|
2020-12-20 01:10:47 +03:00
|
|
|
web3Redundant: web3HomeRedundant,
|
2021-03-18 06:48:40 +03:00
|
|
|
web3Fallback: web3HomeFallback,
|
|
|
|
resendInterval: parseInt(ORACLE_HOME_TX_RESEND_INTERVAL, 10) || DEFAULT_TRANSACTION_RESEND_INTERVAL
|
2019-05-06 14:12:53 +03:00
|
|
|
}
|