mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 16:52:44 +01:00
ircd::server: Log a dwarning on any canceled cleanups.
This commit is contained in:
parent
ebb2f21d61
commit
98a5a09c92
1 changed files with 8 additions and 1 deletions
|
@ -1749,13 +1749,20 @@ ircd::server::link::cleanup_canceled()
|
|||
auto it(begin(queue));
|
||||
while(it != end(queue))
|
||||
{
|
||||
auto &tag{*it};
|
||||
const auto &tag{*it};
|
||||
if(tag.committed() || tag.request)
|
||||
{
|
||||
++it;
|
||||
continue;
|
||||
}
|
||||
|
||||
log::dwarning
|
||||
{
|
||||
log, "%s removing abandoned tag:%lu",
|
||||
loghead(*this),
|
||||
tag.state.id,
|
||||
};
|
||||
|
||||
it = queue.erase(it);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue