1
0
mirror of http://git.haproxy.org/git/haproxy.git/ synced 2025-03-23 19:36:47 +00:00
haproxy/doc/lua-api
Christopher Faulet 2c2c2e381b MINOR: lua: Add act:wake_time() function to set a timeout when an action yields
This function may be used to defined a timeout when a lua action returns
act:YIELD. It is a way to force to reexecute the script after a short time
(defined in milliseconds).

Unlike core:sleep() or core:yield(), the script is fully reexecuted if it
returns act:YIELD. With core functions to yield, the script is interrupted and
restarts from the yield point. When a script returns act:YIELD, it is finished
but the message analysis is blocked on the action waiting its end.
2020-02-06 15:13:04 +01:00
..
_static
conf.py
index.rst MINOR: lua: Add act:wake_time() function to set a timeout when an action yields 2020-02-06 15:13:04 +01:00
Makefile