From b9675de9e0e9bf8965d1493dc5f438c0d3e6d295 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Mon, 24 Nov 2014 14:56:09 +0000 Subject: [PATCH] Change IP address update interval from 5m to 30s --- src/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.coffee b/src/app.coffee index e456408e..6c211283 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -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..')