mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
modules/client/sync: Fix unmatched debuglog message at polylog handler completion.
This commit is contained in:
parent
9e96863922
commit
1d45c9aecd
1 changed files with 17 additions and 10 deletions
|
@ -1020,16 +1020,23 @@ try
|
|||
if(!ret)
|
||||
checkpoint.committing(false);
|
||||
|
||||
if(!data.phased && stats::info)
|
||||
log::info
|
||||
{
|
||||
log, "request %s polylog commit:%b complete @%ld",
|
||||
loghead(data),
|
||||
ret,
|
||||
data.phased?
|
||||
data.range.first:
|
||||
data.range.second
|
||||
};
|
||||
const auto &log_level
|
||||
{
|
||||
!data.phased && stats::info?
|
||||
log::level::INFO:
|
||||
log::level::DEBUG
|
||||
};
|
||||
|
||||
log::logf
|
||||
{
|
||||
log, log_level,
|
||||
"request %s polylog commit:%b complete @%ld",
|
||||
loghead(data),
|
||||
ret,
|
||||
data.phased?
|
||||
data.range.first:
|
||||
data.range.second
|
||||
};
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue