This commit is contained in:
Gerrit Linnemann 2017-04-10 21:58:18 +02:00
parent 8dd7992043
commit d518741bb1
6 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */

View File

@ -13,7 +13,7 @@ Helper.each(Conf.items, function(item) {
/* private */ /* private */
function reconnect(item) { function reconnect(item) {
Log.debug('Reconnect ' + item.host); Log.debug('Reconnect ' + item.host);
setTimeout(connect(item), 10000); setTimeout(function() { connect(item) }, 10000);
} }
/* private */ /* private */