diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-22 14:02:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-22 14:02:26 +0100 |
commit | 3b3de857f12e0b13b060c8fffccd4923abca3631 (patch) | |
tree | 2681033bccd99ad70b72bfd72fb5c41591e9b72e /src/lua | |
parent | 2fa03199e4bcf3d323d5c94ec7a16bb2890e0354 (diff) | |
download | rspamd-3b3de857f12e0b13b060c8fffccd4923abca3631.tar.gz rspamd-3b3de857f12e0b13b060c8fffccd4923abca3631.zip |
[Feature] PDF: Add timeouts for expensive operations
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_task.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |