https://github.com/halaei/hredis
A better Redis queue driver for Laravel 5.2 (changes are already applied to Laravel 5.3)
https://github.com/halaei/hredis
Last synced: 23 days ago
JSON representation
A better Redis queue driver for Laravel 5.2 (changes are already applied to Laravel 5.3)
- Host: GitHub
- URL: https://github.com/halaei/hredis
- Owner: halaei
- Created: 2016-04-23T06:21:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-23T07:26:47.000Z (about 10 years ago)
- Last Synced: 2024-03-17T22:10:51.039Z (about 2 years ago)
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A better Redis queue driver for Laravel
[](https://travis-ci.org/halaei/hredis)
[](https://packagist.org/packages/halaei/hredis)
[](https://packagist.org/packages/halaei/hredis)
[](https://packagist.org/packages/halaei/hredis)
[](https://packagist.org/packages/halaei/hredis)
## Changes (vs the current Laravel Redis queue driver)
- Implement `migrateExpiredJobs()` using `eval` 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.