Skip to content

[BUG] async-queue,可能会停止消费 #7320

@PcnvS8pbdTYM

Description

@PcnvS8pbdTYM

在配置了max_message参数后,消费指定消息数会进行重启。
在消费了大量消息后,可能会导致进程频繁重启。
'platform_task' => [
'driver' => RedisDriver::class,
'redis' => [
'pool' => 'default',
],
'channel' => '{queue:platform_task}',
'timeout' => 2,
'retry_seconds' => 5,
'handle_timeout' => 60,
'processes' => 3,
'concurrent' => [
'limit' => 4,
],
'max_messages' => 1000,
],
在signal.php配置了processStopHandler后,有可能会产生队列不消费,需要重启进程才可继续消费。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions