We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd97aa commit f587bcdCopy full SHA for f587bcd
cloud/purge.cc
@@ -34,7 +34,7 @@ void CloudFileSystemImpl::Purger() {
34
35
while (true) {
36
std::unique_lock<std::mutex> lk(purger_lock_);
37
- purger_cv_.wait_for(lk, period, [&]() { return purger_is_running_; });
+ purger_cv_.wait_for(lk, period, [&]() { return !purger_is_running_; });
38
if (!purger_is_running_) {
39
break;
40
}
0 commit comments