0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00

modules/m_vm_fetch: Improve logging of state fetch.

This commit is contained in:
Jason Volk 2020-03-03 16:21:38 -08:00
parent 57546ae788
commit baadb3d44a

View file

@ -346,6 +346,13 @@ ircd::m::vm::fetch::state(const event &event,
if(at<"depth"_>(event) > sounding_depth)
return;
log::dwarning
{
log, "%s fetching possible missing state in %s",
loghead(eval),
string_view{room.room_id},
};
auto futures
{
state_fetch(event, eval, room)
@ -359,7 +366,7 @@ ircd::m::vm::fetch::state(const event &event,
ctx::when_all(begin(futures), end(futures))
};
log::info
log::warning
{
log, "%s fetching %zu missing state events in %s",
loghead(eval),