clear cache on failure
Some checks failed
BlockStorage/repertory_mac/pipeline/head There was a failure building this commit
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2025-08-04 10:34:06 -05:00
parent 06aee5a899
commit 6dd96939c4

View File

@@ -58,6 +58,7 @@ void packet_client::close_all() {
} }
clients_.clear(); clients_.clear();
io_context_ = boost::asio::io_context{};
unique_id_ = utils::create_uuid_string(); unique_id_ = utils::create_uuid_string();
} }
@@ -77,6 +78,7 @@ void packet_client::connect(client &cli) {
} }
} catch (const std::exception &e) { } catch (const std::exception &e) {
utils::error::raise_error(function_name, e, "connection handshake failed"); utils::error::raise_error(function_name, e, "connection handshake failed");
resolve_results_.clear();
} }
} }