mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd:Ⓜ️:feds: Minor simplify.
This commit is contained in:
parent
df9b429344
commit
9789772307
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,7 @@ ircd::m::feds::execute::execute(const vector_view<const opts> &optsv,
|
|||
|
||||
milliseconds timeout {0};
|
||||
for(const auto &opts : optsv)
|
||||
if(opts.timeout > timeout)
|
||||
timeout = opts.timeout;
|
||||
timeout = std::max(opts.timeout, timeout);
|
||||
|
||||
this->boolean::val = handler(list, timeout, closure);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue