From d455dbf2a20d67229d4a306a47337faa09f2b273 Mon Sep 17 00:00:00 2001 From: newtondotcom Date: Fri, 5 Jan 2024 11:37:44 +0100 Subject: [PATCH] new message broker ip --- worker/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/app.py b/worker/app.py index 3e2a821..e7fff9f 100644 --- a/worker/app.py +++ b/worker/app.py @@ -11,7 +11,7 @@ print(' Connecting to server ...') try: - connection = pika.BlockingConnection(pika.ConnectionParameters(host="141.145.217.120",port=5672)) + connection = pika.BlockingConnection(pika.ConnectionParameters(host="144.91.123.186",port=15672)) except pika.exceptions.AMQPConnectionError as exc: print("Failed to connect to RabbitMQ service. Message wont be sent.") exit()