mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-28 01:28:52 +00:00
Change IP address update interval from 5m to 30s
This commit is contained in:
parent
7ffb65d3fa
commit
b9675de9e0
@ -89,7 +89,7 @@ knex('config').select('value').where(key: 'uuid').then ([ uuid ]) ->
|
|||||||
ip_address: ipAddrs.join(' ')
|
ip_address: ipAddrs.join(' ')
|
||||||
)
|
)
|
||||||
console.log('Starting periodic check for IP addresses..')
|
console.log('Starting periodic check for IP addresses..')
|
||||||
setInterval(updateIpAddr, 5 * 60 * 1000) # Every 5 mins
|
setInterval(updateIpAddr, 30 * 1000) # Every 30s
|
||||||
updateIpAddr()
|
updateIpAddr()
|
||||||
|
|
||||||
console.log('Starting connectivity check..')
|
console.log('Starting connectivity check..')
|
||||||
|
Loading…
Reference in New Issue
Block a user