diff --git a/mon/mon.js b/mon/mon.js index 944b3b1c..66f8b6cd 100644 --- a/mon/mon.js +++ b/mon/mon.js @@ -606,7 +606,7 @@ class Mon console.log('etcd websocket timed out, restarting it'); this.restart_watcher(cur_addr); } - }, (Number(this.config.etcd_keepalive_interval) || 30)*1000); + }, (Number(this.config.etcd_ws_keepalive_interval) || 30)*1000); this.ws.on('error', () => this.restart_watcher(cur_addr)); this.ws.send(JSON.stringify({ create_request: {