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
Error: value is not an integer. When used with redis driver #27
Comments
Same issue, any patch? |
Edit Redis driver, line 54: get(key) {
// return this.redis.get(key)
this.redis.get(key, (err, result) => {
if (err) {
throw err
} else {
return result
}
})
} |
without a solution I started using node-rate-limiter-flexible with @adonisjs/redis #midlleware
#start/kernel.js
#routes
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I select the redis drive the following error is returned
config/throttle.js
Looking at the value of the key directly in the redis I see the value being written
I'm using
adonis-version: 4.1.0
node: v12.14.0
adonis-throttle: ^2.3.6
Link my boilerplate https://github.com/izidorio/adonis-boilerplate
The text was updated successfully, but these errors were encountered: