Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4939 from pirapira/quicker-termination
Browse files Browse the repository at this point in the history
Quicker termination for eth --test
  • Loading branch information
chfast authored Apr 5, 2018
2 parents 740da50 + ccfa8c7 commit 5ac0911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethereum/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ void Client::doWork(bool _doWait)
if (!m_syncBlockQueue && !m_syncTransactionQueue && (_doWait || isSealed))
{
std::unique_lock<std::mutex> l(x_signalled);
m_signalled.wait_for(l, chrono::seconds(1));
m_signalled.wait_for(l, chrono::milliseconds(30));
}
}

Expand Down

0 comments on commit 5ac0911

Please sign in to comment.