mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-26 17:01:06 +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(' ')
|
||||
)
|
||||
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..')
|
||||
|
Loading…
Reference in New Issue
Block a user