fix inconsistent protocol thread state on error, issue #40

This commit is contained in:
Jason Hughes 2024-11-14 18:08:03 -05:00
parent 665aa78795
commit 2bbf8c6621

View File

@ -1498,6 +1498,7 @@ void *datum_protocol_client(void *args) {
if ((ret = getaddrinfo(datum_config.datum_pool_host, port_str, &hints, &res)) != 0) {
DLOG_ERROR("getaddrinfo: %s\n", gai_strerror(ret));
datum_protocol_client_active = 0;
return NULL;
}