Skip to content
Snippets Groups Projects
Commit d988d7fb authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

Introduce and use fiber_clock() instead of fiber_time() for timeouts

fiber_time() reports real time, which shouldn't be used for calculating
timeouts as it is affected by system time changes. Add fiber_clock()
based on ev_monotonic_now(), export it to Lua, and use it instead.

Needed for #2527
parent a6c87bf9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment