0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::db: Fix runlevel condition for background task invocation.

This commit is contained in:
Jason Volk 2019-03-27 12:54:20 -07:00
parent ccf17d648c
commit b73bb789b2

View file

@ -4045,7 +4045,7 @@ ircd::db::database::env::state::pool::operator()(task &&task)
// Don't start a background task before RUN.
run::changed::dock.wait([]
{
return run::level == run::level::RUN;
return run::level != run::level::START;
});
const ctx::uninterruptible::nothrow ui;