0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-24 12:58:21 +02:00

ircd:Ⓜ️:init::backfill: Add interruption checks for clean breaks.

This commit is contained in:
Jason Volk 2019-09-06 14:50:54 -07:00
parent c7b0e9a1b5
commit 3e4918062d

View file

@ -122,7 +122,7 @@ try
handle_room(room_id);
++count;
return true;
return !ctx::interruption_requested();
});
log::info
@ -242,12 +242,13 @@ try
}
++evaluated;
return true;
return !ctx::interruption_requested();
});
return true;
return !ctx::interruption_requested();
});
ctx::interruption_point();
log::info
{
log, "acquired %s remote head; servers:%zu online:%zu"