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 187582c..cf2a448 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;