File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ local _M = {}
11
11
--
12
12
-- This differs from resty-lock by ensuring that the task only gets executed
13
13
-- once per interval across all workers. resty-lock helps ensure multiple
14
- -- concurrent tasks don't run (in case the task takes long than interval).
14
+ -- concurrent tasks don't run (in case the task takes longer than interval).
15
15
local function get_interval_lock (name , interval )
16
16
local key = " lock:" .. name
17
17
@@ -217,7 +217,7 @@ local function do_renew(auto_ssl_instance)
217
217
end
218
218
local _ , lock_err = renew_lock :lock (" renew" )
219
219
if lock_err then
220
- ngx .log (ngx .ERR , " auto-ssl: failed to optain lock: " , lock_err )
220
+ ngx .log (ngx .ERR , " auto-ssl: failed to obtain lock: " , lock_err )
221
221
return
222
222
end
223
223
You can’t perform that action at this time.
0 commit comments