Change IP address update interval from 5m to 30s

This commit is contained in:
Pagan Gazzard 2014-11-24 14:56:09 +00:00 committed by Pablo Carranza Vélez
parent 7ffb65d3fa
commit b9675de9e0

View File

@ -89,7 +89,7 @@ knex('config').select('value').where(key: 'uuid').then ([ uuid ]) ->
ip_address: ipAddrs.join(' ')
)
console.log('Starting periodic check for IP addresses..')
setInterval(updateIpAddr, 5 * 60 * 1000) # Every 5 mins
setInterval(updateIpAddr, 30 * 1000) # Every 30s
updateIpAddr()
console.log('Starting connectivity check..')