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

modules/m_fetch: Fix debuglog msg argument bitrot.

This commit is contained in:
Jason Volk 2019-09-02 17:47:59 -07:00
parent 02009c4aa9
commit 6e8a7a4162

View file

@ -676,11 +676,11 @@ ircd::m::fetch::finish(request &request)
log::logf log::logf
{ {
log, request.eptr? log::DERROR: log::DEBUG, log, request.eptr? log::DERROR: log::DEBUG,
"%s in %s started:%ld finished:%d attempted:%zu abandon:%b %S%s", "Finished %s in %s started:%ld finished:%d attempted:%zu abandon:%b %s%s",
string_view{request.opts.event_id}, string_view{request.opts.event_id},
string_view{request.opts.room_id}, string_view{request.opts.room_id},
seconds(tse(request.started)).count(), duration_cast<seconds>(tse(request.started)).count(),
seconds(tse(request.finished)).count(), duration_cast<seconds>(tse(request.finished)).count(),
request.attempted.size(), request.attempted.size(),
!request.promise, !request.promise,
request.eptr? " :" : "", request.eptr? " :" : "",