-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: reduce auth requests #100
Conversation
return nil, self.last_refresh_jwt_err | ||
end | ||
|
||
-- something unexpected happened, try again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about logging it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
lib/resty/etcd/v3.lua
Outdated
@@ -19,6 +20,7 @@ local decode_json = cjson.decode | |||
local encode_json = cjson.encode | |||
local encode_base64 = ngx.encode_base64 | |||
local decode_base64 = ngx.decode_base64 | |||
local semaphore = require("ngx.semaphore") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to align with the code format above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
@spacewander do we need to release a new version after we merge this PR? |
@membphis |
#104 released version 1.4.3 |
No description provided.