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 = {}
1111--
1212-- This differs from resty-lock by ensuring that the task only gets executed
1313-- 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).
1515local function get_interval_lock (name , interval )
1616 local key = " lock:" .. name
1717
@@ -217,7 +217,7 @@ local function do_renew(auto_ssl_instance)
217217 end
218218 local _ , lock_err = renew_lock :lock (" renew" )
219219 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 )
221221 return
222222 end
223223
You can’t perform that action at this time.
0 commit comments