halaei / hredis
New Redis queue driver for Laravel
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/halaei/hredis
Requires
- php: >=5.5
- illuminate/queue: 5.2.*
- illuminate/redis: 5.2.*
- predis/predis: ~1.0
Requires (Dev)
- mockery/mockery: ~0.9.1
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2022-02-01 12:57:44 UTC
README
Changes (vs the current Laravel Redis queue driver)
- Implement
migrateExpiredJobs()
usingeval
instead of watch-multi-exec (check and set) transactions to prevent issue #12653 of laravel/framework. - Increment
attempts
counter when reserving job, instead of when releasing it, so that fatal errors be considered as tries. - Migrate expired delayed jobs but not expired release ones when expire is null. Issue #12595 laravel/framework.
- A few transaction guards for the times we moving jobs between main/reserved and delayed queues, so that the jobs are not lost in Redis server in the case of network/client failures.