]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix for docs of lua_redis.redis_make_request_taskless 5470/head
authorIvan Stakhov <50211739+left-try@users.noreply.github.com>
Thu, 15 May 2025 15:10:38 +0000 (21:10 +0600)
committerGitHub <noreply@github.com>
Thu, 15 May 2025 15:10:38 +0000 (21:10 +0600)
lualib/lua_redis.lua

index a21b97f8972b763ff3e6978087cdbae3231b88cb..32139ef4f65f9c0119a26bd0883b0be9de3d3802 100644 (file)
@@ -1129,9 +1129,9 @@ local function redis_make_request_taskless(ev_base, cfg, redis_params, key,
 end
 
 --[[[
--- @function lua_redis.redis_make_request_taskless(ev_base, redis_params, key, is_write, callback, command, args)
+-- @function lua_redis.redis_make_request_taskless(ev_base, cfg, redis_params, key, is_write, callback, command, args)
 -- Sends a request to Redis in context where `task` is not available for some specific use-cases
--- Identical to redis_make_request() except in that first parameter is an `event base` object
+-- Identical to redis_make_request() except in that first parameter is an `event base` object and the second one is the 'config' object
 --]]
 
 exports.rspamd_redis_make_request_taskless = redis_make_request_taskless