Use the same etcd_ws_keepalive_interval in OSD and mon

This commit is contained in:
Vitaliy Filippov
2023-12-23 20:07:29 +03:00
parent 178bb0e701
commit 1299373988
+1 -1
View File
@@ -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: {