From 1299373988b16660f5006ecf9e798ca1539e0cd8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 23 Dec 2023 20:07:29 +0300 Subject: [PATCH] Use the same etcd_ws_keepalive_interval in OSD and mon --- mon/mon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {