mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +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
|
try
|
||||||
{
|
{
|
||||||
// Generate individual stats for sections
|
// Generate individual stats for sections
|
||||||
#ifdef RB_DEBUG
|
|
||||||
thread_local char iecbuf[64], rembuf[128];
|
thread_local char iecbuf[64], rembuf[128];
|
||||||
sync::stats stats{sp.stats};
|
sync::stats stats{sp.stats};
|
||||||
stats.timer = timer{};
|
stats.timer = timer{};
|
||||||
#endif
|
|
||||||
|
|
||||||
{
|
{
|
||||||
json::stack::member member{object, "rooms"};
|
json::stack::member member{object, "rooms"};
|
||||||
|
@ -714,8 +712,7 @@ try
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef RB_DEBUG
|
log::info
|
||||||
log::debug
|
|
||||||
{
|
{
|
||||||
log, "polylog %s %s %s wc:%zu in %lu$ms",
|
log, "polylog %s %s %s wc:%zu in %lu$ms",
|
||||||
string(rembuf, ircd::remote(sp.client)),
|
string(rembuf, ircd::remote(sp.client)),
|
||||||
|
@ -724,7 +721,6 @@ try
|
||||||
sp.stats.flush_count,
|
sp.stats.flush_count,
|
||||||
sp.stats.timer.at<milliseconds>().count()
|
sp.stats.timer.at<milliseconds>().count()
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
return sp.committed;
|
return sp.committed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue