You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use a Redis throttle with the PhpRedis extension the following exception is thrown PhpRedis: Redis::eval() expects at most 3 parameters, 7 given.
Steps To Reproduce:
Use the phpredis redis database client with the following piece of code.
Redis::connection()->throttle('somethrottlekey')->allow(1)->every(10)->then(function () {
$this->goAhead();
}, function () {
$this->nope();
});
Stacktrace:
ErrorException: Redis::eval() expects at most 3 parameters, 7 given
#37 vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(114): handleError
#34 vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(114): command
#33 vendor/laravel/framework/src/Illuminate/Redis/Limiters/DurationLimiter.php(103): acquire
#32 vendor/laravel/framework/src/Illuminate/Redis/Limiters/DurationLimiter.php(80): block
#31 vendor/laravel/framework/src/Illuminate/Redis/Limiters/DurationLimiterBuilder.php(113): then
#30 app/Jobs/SomeJob.php(27): handle
<!-- SNIP -->
(stack trace is cut from where the throttle method is called for clearity)
Please let me know if other information is needed or wanted.
The text was updated successfully, but these errors were encountered:
Description:
When trying to use a Redis throttle with the PhpRedis extension the following exception is thrown
PhpRedis: Redis::eval() expects at most 3 parameters, 7 given
.Steps To Reproduce:
Use the
phpredis
redis database client with the following piece of code.Stacktrace:
(stack trace is cut from where the throttle method is called for clearity)
Please let me know if other information is needed or wanted.
The text was updated successfully, but these errors were encountered: