mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
modules/client/sync: Promote polylog stats overview log message to infolog.
This commit is contained in:
parent
337810d7e0
commit
5a9c264981
1 changed files with 1 additions and 5 deletions
|
@ -643,11 +643,9 @@ ircd::m::sync::polylog::handle(client &client,
|
|||
try
|
||||
{
|
||||
// Generate individual stats for sections
|
||||
#ifdef RB_DEBUG
|
||||
thread_local char iecbuf[64], rembuf[128];
|
||||
sync::stats stats{sp.stats};
|
||||
stats.timer = timer{};
|
||||
#endif
|
||||
|
||||
{
|
||||
json::stack::member member{object, "rooms"};
|
||||
|
@ -714,8 +712,7 @@ try
|
|||
};
|
||||
}
|
||||
|
||||
#ifdef RB_DEBUG
|
||||
log::debug
|
||||
log::info
|
||||
{
|
||||
log, "polylog %s %s %s wc:%zu in %lu$ms",
|
||||
string(rembuf, ircd::remote(sp.client)),
|
||||
|
@ -724,7 +721,6 @@ try
|
|||
sp.stats.flush_count,
|
||||
sp.stats.timer.at<milliseconds>().count()
|
||||
};
|
||||
#endif
|
||||
|
||||
return sp.committed;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue