Clients should not wait infinitely for etcd to start if it's unavailable

This commit is contained in:
Vitaliy Filippov
2024-08-28 02:03:35 +03:00
parent 4121c66281
commit f848c450a4
4 changed files with 17 additions and 9 deletions
+1
View File
@@ -58,6 +58,7 @@ cluster_client_t::cluster_client_t(ring_loop_t *ringloop, timerfd_manager_t *tfd
st_cli.on_reload_hook = [this]() { st_cli.load_global_config(); };
st_cli.parse_config(config);
st_cli.infinite_start = false;
st_cli.load_global_config();
scrap_buffer_size = SCRAP_BUFFER_SIZE;