diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index cfef26c18..b335a0d94 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -485,7 +485,7 @@ Core class .. js:function:: core.msleep(milliseconds) - **context**: body, init, task, action + **context**: task, action The `core.msleep()` stops the Lua execution between specified milliseconds. @@ -841,7 +841,7 @@ Core class .. js:function:: core.sleep(int seconds) - **context**: body, init, task, action + **context**: task, action The `core.sleep()` functions stop the Lua execution between specified seconds. @@ -894,7 +894,7 @@ Core class .. js:function:: core.yield() - **context**: task, action, sample-fetch, converter + **context**: task, action Give back the hand at the HAProxy scheduler. It is used when the LUA processing consumes a lot of processing time.