Skip to content
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

[rate-limit] Use shdict when redis_url is empty in the same way as redis_url is null. #842

Merged
merged 3 commits into from
Aug 13, 2018

Conversation

y-tabata
Copy link
Contributor

Closes #834.

@y-tabata y-tabata requested a review from a team as a code owner August 13, 2018 08:12
@@ -141,7 +141,7 @@ end

function _M:access(context)
local red
if self.redis_url then
if self.redis_url and self.redis_url ~= '' then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed, too.

@davidor davidor merged commit 5d44d3d into 3scale:master Aug 13, 2018
@y-tabata y-tabata deleted the redis-url-empty branch August 13, 2018 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants