2019-05-06 13:12:53 +02:00
|
|
|
const baseConfig = require('./base.config')
|
|
|
|
|
2021-03-18 06:48:40 +03:00
|
|
|
const { DEFAULT_TRANSACTION_RESEND_INTERVAL } = require('../src/utils/constants')
|
2019-05-06 13:12:53 +02:00
|
|
|
|
2021-03-18 06:48:40 +03:00
|
|
|
const { ORACLE_FOREIGN_TX_RESEND_INTERVAL } = process.env
|
|
|
|
|
2019-05-06 13:12:53 +02:00
|
|
|
module.exports = {
|
2021-05-09 16:34:19 +03:00
|
|
|
...baseConfig,
|
2022-05-25 14:54:47 +04:00
|
|
|
main: baseConfig.foreign,
|
2020-09-12 17:01:37 +03:00
|
|
|
queue: 'foreign-prioritized',
|
2019-05-06 13:12:53 +02:00
|
|
|
id: 'foreign',
|
|
|
|
name: 'sender-foreign',
|
2021-03-18 06:48:40 +03:00
|
|
|
resendInterval: parseInt(ORACLE_FOREIGN_TX_RESEND_INTERVAL, 10) || DEFAULT_TRANSACTION_RESEND_INTERVAL
|
2019-05-06 13:12:53 +02:00
|
|
|
}
|