Browse Source

Test config AMQP keepalive y heartbeat

Guillermo Espinoza 6 năm trước cách đây
mục cha
commit
0359ad6481
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      Resources/config/rabbit_mq/config.yml

+ 4 - 4
Resources/config/rabbit_mq/config.yml

@@ -7,14 +7,14 @@ old_sound_rabbit_mq:
             password: "%rabbit_mq.password%"
             vhost: "%rabbit_mq.vhost%"
             lazy: true
-            connection_timeout: 3
-            read_write_timeout: 3
+            connection_timeout: 4
+            read_write_timeout: 4
 
             # requires php-amqplib v2.4.1+ and PHP5.4+
-            keepalive: false
+            keepalive: true
 
             # requires php-amqplib v2.4.1+
-            heartbeat: 0
+            heartbeat: 60
 
             #requires php_sockets.dll
 #            use_socket: true # default false