yii2-queue
yii2-queue copied to clipboard
Ttr and retry
| Q | A |
|---|---|
| Yii version | 2.0.20 |
| PHP version | 7.3 |
| Operating system | Linux |
I am see #249, but I have also error with ttr.
I have job
- ttr = 600
- retry = 3
- driver = redis

The worker 4 start this job (time more, then ttr = 600 sec) The workers 6, 5, 8 restart this job after 600 s and ended with error, becouse worker 4 still running.
Job is buried, but worker 4 still worked.



After restarting and change ttr to 1000, this job finished after 650 sec.
It is bug?
And also: If I have long job (ttr = 60*60 = 3600) with retry = 3 and have error in process, the restart this job will be after TTR (3600 sec = 1 h). But I have restart job with error after 10 min. It is possible?
@zhuravljov any idea about it?