Skip to content
Snippets Groups Projects
Commit 4f20c730 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix deadlock

parent 5ac4a967
No related branches found
No related tags found
No related merge requests found
......@@ -302,7 +302,7 @@ void RequestHandlerTcp::PrepareProcessingRequestLocked() {
}
void RequestHandlerTcp::TearDownProcessingRequestLocked(bool request_processed_successfully) {
if (!request_processed_successfully) {
if (!request_processed_successfully && *ncurrent_connections_>0) {
(*ncurrent_connections_)--;
}
}
......
......@@ -327,7 +327,7 @@ void TestAll(const Args& args) {
exit(EXIT_FAILURE);
}
consumer->SetTimeout(1000);
consumer->SetTimeout(10000);
auto group_id = consumer->GenerateNewGroupId(&err);
if (args.datasets == "single") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment