mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Be more conservative with triggering request timeout events
This commit is contained in:
parent
4b5584a85d
commit
3da95de5b8
1 changed files with 5 additions and 1 deletions
|
@ -77,7 +77,11 @@ export {
|
||||||
|
|
||||||
function requests_expire_func(reqs: table[string] of Request, reqid: string): interval
|
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]);
|
event ClusterController::Request::request_expired(reqs[reqid]);
|
||||||
|
|
||||||
return 0secs;
|
return 0secs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue