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:
parent
ccf17d648c
commit
b73bb789b2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue