Преглед изворни кода

Test config AMQP keepalive y heartbeat

Guillermo Espinoza пре 6 година
родитељ
комит
0359ad6481
1 измењених фајлова са 4 додато и 4 уклоњено
  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