0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-13 21:10:32 +01:00

ircd::db::env: Remove the background task delay dock here.

This commit is contained in:
Jason Volk 2019-07-23 16:42:12 -07:00
parent bde9e16e5c
commit 4dc114bf94

View file

@ -4069,12 +4069,6 @@ ircd::db::database::env::state::pool::operator()(task &&task)
if(tasks.empty())
return;
// Don't start a background task before RUN.
run::changed::dock.wait([]
{
return run::level != run::level::START;
});
const ctx::uninterruptible::nothrow ui;
const auto task{std::move(tasks.front())};
tasks.pop_front();