فهرست منبع

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