From 3b3de857f12e0b13b060c8fffccd4923abca3631 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 22 May 2020 14:02:26 +0100 Subject: [Feature] PDF: Add timeouts for expensive operations --- src/lua/lua_task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua') diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 98c0b06ed..d7808ee5f 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -759,8 +759,9 @@ LUA_FUNCTION_DEF (task, get_date); */ LUA_FUNCTION_DEF (task, get_message_id); /*** - * @method task:get_timeval() + * @method task:get_timeval([raw]) * Returns the timestamp for a task start processing time. + * @param {boolean} raw if true then two float numbers are returned: task start timestamp and timeout event timestamp * @return {table} table with fields as described in `struct timeval` in C */ LUA_FUNCTION_DEF (task, get_timeval); -- cgit v1.2.3