mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
default options ping interval to 30s, with env override if desired
This commit is contained in:
@@ -95,7 +95,7 @@ module.exports = (logger) => {
|
|||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
const {srf} = require('../..');
|
const {srf} = require('../..');
|
||||||
pingProxies(srf);
|
pingProxies(srf);
|
||||||
}, 20000);
|
}, process.env.OPTIONS_PING_INTERVAL || 30000);
|
||||||
|
|
||||||
// initial ping once we are up
|
// initial ping once we are up
|
||||||
setTimeout(async() => {
|
setTimeout(async() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user