aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_epoll.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index e4bf7708..c5d5ec6c 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -904,6 +904,9 @@ return {
add_task = addtimer;
stop = closetimer;
reschedule = reschedule;
+ to_absolute_time = function (t)
+ return t-monotonic()+realtime();
+ end;
};
listen = listen;
loop = loop;