-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
The queue task was delayed in ttr seconds #438
Comments
Normally, the Queue were executed immediately and delayed only a few times. |
Thanks for posting in our issue tracker.
Thanks! This is an automated comment, triggered by adding the label |
When does the issue occur? What do you see? What was the expected result? Can you supply us with a stacktrace? (optional) Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional) |
Does that happen with any task every time? In order to fix an issue we need to somehow reproduce it. |
No.It is normal for a long time, occasionally such problems.I have no way to reproduce it either. I'm not sure if this is related to |
That should be connected. |
Is there any good solution |
What steps will reproduce the problem?
I set parameter ttr=7200, seconds。
I found a strange phenomenon that the task was not wrong but it was executed after 7200 seconds.
My config like this:
'dataExport' => [
'class' => yii\queue\redis\Queue::class,
'channel' => 'dataExportQueue',
'as log' => common\behaviors\QueueLogBehavior::class,
'ttr' => 7200,
],
What's expected?
I guess it should execute immediately but I didn t get task feedback.
What do you get instead?
Additional info
The text was updated successfully, but these errors were encountered: