mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +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
|
#endif
|
||||||
|
|
||||||
|
this_ctx::interruption_point();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
catch(const std::bad_function_call &e)
|
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")
|
if(data.membership != "join" && type == "m.room.member")
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
this_ctx::interruption_point();
|
||||||
concurrent(event_idx);
|
concurrent(event_idx);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue