0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd:Ⓜ️:sync: Add interruption points in polylog caller; state iteration.

This commit is contained in:
Jason Volk 2019-08-11 08:00:41 -07:00
parent a2c05437d2
commit 9bab532c3e
2 changed files with 2 additions and 0 deletions

View file

@ -801,6 +801,7 @@ try
}
#endif
this_ctx::interruption_point();
return ret;
}
catch(const std::bad_function_call &e)

View file

@ -307,6 +307,7 @@ ircd::m::sync::room_state_polylog_events(data &data)
if(data.membership != "join" && type == "m.room.member")
return true;
this_ctx::interruption_point();
concurrent(event_idx);
return true;
});