mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
net.server_epoll: Fix off-by-one in 2c559953ad41
Thanks tmolitor
This commit is contained in:
parent
a7c018ed86
commit
0f3dae441b
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ local function runtimers(next_delay, min_wait)
|
||||||
|
|
||||||
if readd then
|
if readd then
|
||||||
for _, timer in pairs(readd) do
|
for _, timer in pairs(readd) do
|
||||||
timers:insert(timer, timer[2]);
|
timers:insert(timer, timer[1]);
|
||||||
end
|
end
|
||||||
peek = timers:peek();
|
peek = timers:peek();
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue