Use the same etcd_ws_keepalive_interval in OSD and mon
This commit is contained in:
+1
-1
@@ -606,7 +606,7 @@ class Mon
|
|||||||
console.log('etcd websocket timed out, restarting it');
|
console.log('etcd websocket timed out, restarting it');
|
||||||
this.restart_watcher(cur_addr);
|
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.on('error', () => this.restart_watcher(cur_addr));
|
||||||
this.ws.send(JSON.stringify({
|
this.ws.send(JSON.stringify({
|
||||||
create_request: {
|
create_request: {
|
||||||
|
|||||||
Reference in New Issue
Block a user