Skip to content

Spelling fixes #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/resty/auto-ssl/jobs/renewal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local _M = {}
--
-- This differs from resty-lock by ensuring that the task only gets executed
-- once per interval across all workers. resty-lock helps ensure multiple
-- concurrent tasks don't run (in case the task takes long than interval).
-- concurrent tasks don't run (in case the task takes longer than interval).
local function get_interval_lock(name, interval)
local key = "lock:" .. name

Expand Down Expand Up @@ -217,7 +217,7 @@ local function do_renew(auto_ssl_instance)
end
local _, lock_err = renew_lock:lock("renew")
if lock_err then
ngx.log(ngx.ERR, "auto-ssl: failed to optain lock: ", lock_err)
ngx.log(ngx.ERR, "auto-ssl: failed to obtain lock: ", lock_err)
return
end

Expand Down