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

modules/client/sync: Fix unmatched debuglog message at polylog handler completion.

This commit is contained in:
Jason Volk 2020-06-03 22:53:59 -07:00
parent 9e96863922
commit 1d45c9aecd

View file

@ -1020,16 +1020,23 @@ try
if(!ret) if(!ret)
checkpoint.committing(false); checkpoint.committing(false);
if(!data.phased && stats::info) const auto &log_level
log::info {
{ !data.phased && stats::info?
log, "request %s polylog commit:%b complete @%ld", log::level::INFO:
loghead(data), log::level::DEBUG
ret, };
data.phased?
data.range.first: log::logf
data.range.second {
}; log, log_level,
"request %s polylog commit:%b complete @%ld",
loghead(data),
ret,
data.phased?
data.range.first:
data.range.second
};
return ret; return ret;
} }