Be more conservative with triggering request timeout events

This commit is contained in:
Christian Kreibich 2022-01-31 18:35:22 -08:00
parent 4b5584a85d
commit 3da95de5b8

View file

@ -77,7 +77,11 @@ export {
function requests_expire_func(reqs: table[string] of Request, reqid: string): interval
{
# No need to flag request expiration when we've already internally marked
# the request as done.
if ( ! reqs[reqid]$finished )
event ClusterController::Request::request_expired(reqs[reqid]);
return 0secs;
}