Skip to content
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

Ttr and retry #340

Open
loveorigami opened this issue Jun 17, 2019 · 1 comment
Open

Ttr and retry #340

loveorigami opened this issue Jun 17, 2019 · 1 comment
Labels
status:to be verified Needs to be reproduced and validated.

Comments

@loveorigami
Copy link

loveorigami commented Jun 17, 2019

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

2019-06-17_15-34-28

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.

2019-06-17_15-48-50

2019-06-17_15-47-41

2019-06-17_16-00-33

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?

@samdark samdark added the status:to be verified Needs to be reproduced and validated. label Jun 18, 2019
@samdark
Copy link
Member

samdark commented Jun 18, 2019

@zhuravljov any idea about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:to be verified Needs to be reproduced and validated.
Projects
None yet
Development

No branches or pull requests

2 participants