Browse Source

add heartbeat_queue

visuddhinanda 10 months ago
parent
commit
70373143a2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      api-v8/config/mint.php

+ 4 - 0
api-v8/config/mint.php

@@ -133,6 +133,10 @@ return [
                 'dead_letter_queue' => 'ai_translate_dlq',
                 'dead_letter_exchange' => 'ai_translate_dlx',
             ],
+            'heartbeat_queue' => [
+                'ttl' => 86400000, // 24小时 TTL (毫秒)
+                'max_length' => 10000,
+            ]
         ],
 
         // 死信队列配置