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:
parent
a2c05437d2
commit
9bab532c3e
2 changed files with 2 additions and 0 deletions
|
@ -801,6 +801,7 @@ try
|
|||
}
|
||||
#endif
|
||||
|
||||
this_ctx::interruption_point();
|
||||
return ret;
|
||||
}
|
||||
catch(const std::bad_function_call &e)
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue