Skip to content

The queue task was delayed in ttr seconds #438

Open
@huangli58

Description

@huangli58

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions