Module: kamailio
Branch: master
Commit: e4a65922649c1db8edcb8fa18b421620c899b25f
URL:
https://github.com/kamailio/kamailio/commit/e4a65922649c1db8edcb8fa18b42162…
Author: Victor Seva <vseva(a)sipwise.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-06-25T10:35:09+02:00
rabbitmq: don't fail on init if connection fails
* there's a reconnect functionality already in place
Change-Id: I88320fc64aef802a1bcdd753fe7d22402ca4b18c
---
Modified: src/modules/rabbitmq/rabbitmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e4a65922649c1db8edcb8fa18b42162…
Patch:
https://github.com/kamailio/kamailio/commit/e4a65922649c1db8edcb8fa18b42162…
---
diff --git a/src/modules/rabbitmq/rabbitmq.c b/src/modules/rabbitmq/rabbitmq.c
index a1e95ad55b3..9b57e7a834c 100644
--- a/src/modules/rabbitmq/rabbitmq.c
+++ b/src/modules/rabbitmq/rabbitmq.c
@@ -178,8 +178,7 @@ static int mod_child_init(int rank)
// routing process
if(rabbitmq_connect(&amqp_conn) != RABBITMQ_OK) {
- LM_ERR("FAIL rabbitmq_connect()");
- return -1;
+ LM_WARN("FAIL rabbitmq_connect()");
}
LM_DBG("SUCCESS initialization of rabbitmq module in child [%d]\n", rank);