refactor
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-12-02 19:20:17 -06:00
parent b265dcf73f
commit 28dc153822

View File

@ -54,11 +54,11 @@ void polling::frequency_thread(
futures.pop_front(); futures.pop_front();
} }
lock.lock();
if (stop_requested_) { if (stop_requested_) {
continue; return;
} }
lock.lock();
notify_.wait_for(lock, std::chrono::seconds(get_frequency_seconds())); notify_.wait_for(lock, std::chrono::seconds(get_frequency_seconds()));
} }
} }