-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
在配置了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后,有可能会产生队列不消费,需要重启进程才可继续消费。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working