Code

amqp: disable reconnection delaying feature by default
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 11 Mar 2015 21:12:16 +0000 (22:12 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 11 Mar 2015 21:12:16 +0000 (22:12 +0100)
src/amqp.c

index 187582c46885e080dc18937ecb7aca7a5d83d19d..cf2a448aa3b35e29670e91efc7e05a089cef9fdb 100644 (file)
@@ -940,7 +940,7 @@ static int camqp_config_connection (oconfig_item_t *ci, /* {{{ */
     conf->password = NULL;
     conf->exchange = NULL;
     conf->routing_key = NULL;
-    conf->connection_retry_delay = 60;
+    conf->connection_retry_delay = 0;
 
     /* publish only */
     conf->delivery_mode = CAMQP_DM_VOLATILE;