0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 08:58:20 +02:00

ircd:Ⓜ️:init::backfill: Break from worker loop on runlevel change.

This commit is contained in:
Jason Volk 2019-08-27 20:02:21 -07:00
parent 1323b30f34
commit 4e5d67dfe9

View file

@ -117,6 +117,9 @@ try
rooms::for_each(opts, [&count]
(const room::id &room_id)
{
if(unlikely(run::level != run::level::RUN))
return false;
handle_room(room_id);
++count;
return true;