mirror of
https://github.com/searxng/searxng.git
synced 2024-11-25 12:21:00 +00:00
Fix scheduler.lua
This commit is contained in:
parent
2fbf15eccb
commit
b173f3a8b9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if (next_call_ts == false or next_call_ts == nil) then
|
|||
-- 2/ the next call is a random time between start_after_from and start_after_to
|
||||
local initial_delay = math.random(start_after_from, start_after_to)
|
||||
redis.call('SET', redis_key, now + initial_delay)
|
||||
return { false, delay }
|
||||
return { false, initial_delay }
|
||||
end
|
||||
|
||||
-- next_call_ts is defined
|
||||
|
|
Loading…
Reference in a new issue