0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 23:44:01 +01:00

ircd:Ⓜ️:dbs: Improve debug logging on horizon resolve sequence.

This commit is contained in:
Jason Volk 2019-07-17 16:09:11 -07:00
parent aa8c0487e5
commit 3958757dbb

View file

@ -1064,7 +1064,26 @@ ircd::m::dbs::_index_event_horizon_resolve(db::txn &txn,
};
if(!_event.valid)
{
log::dwarning
{
log, "Horizon resolve for %s @%lu not possible @%lu",
string_view{event.event_id},
opts.event_idx,
event_idx,
};
continue;
}
log::debug
{
log, "Horizon resolve for %s @%lu; remisé %s @%lu",
string_view{event.event_id},
opts.event_idx,
string_view{_event.event_id},
event_idx,
};
// Make the references on behalf of the future event
write_opts _opts;