Explorar o código

add heartbeat

visuddhinanda hai 1 ano
pai
achega
0405f9333a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      api-v8/config/queue.php

+ 1 - 0
api-v8/config/queue.php

@@ -77,6 +77,7 @@ return [
             'user' => env('RABBITMQ_USER', 'guest'),
             'password' => env('RABBITMQ_PASSWORD', 'guest'),
             'virtual_host' => env('RABBITMQ_VIRTUAL_HOST', '/'),
+            'heartbeat' => env('RABBITMQ_HEARTBEAT', 60), // 心跳时间(秒)
         ],
 
     ],