mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
ircd:Ⓜ️:room::state: Courtesy yield after iteration.
This commit is contained in:
parent
ca681b8c3c
commit
9b26a9789e
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ ircd::m::room::state::prefetch(const state &state,
|
||||||
ret += m::prefetch(event_idx, fopts);
|
ret += m::prefetch(event_idx, fopts);
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
ctx::yield();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue