From 901c5da84d244e92062596b87e2cb764cb961df9 Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Wed, 3 Jul 2024 18:23:40 +0200 Subject: [PATCH] reduce the wait time to 10s --- queue_message/appointmentrequestsender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queue_message/appointmentrequestsender.py b/queue_message/appointmentrequestsender.py index ce931ad..df45dfc 100644 --- a/queue_message/appointmentrequestsender.py +++ b/queue_message/appointmentrequestsender.py @@ -220,7 +220,7 @@ class AppointmentRequestSender(threading.Thread): else: self.retrieve_invalidate_urls() self.logger.info("empty list") - time.sleep(30) + time.sleep(10) self.logger.info("will basic_reject method.delivery_tag: " + str(method.delivery_tag)) ch.basic_reject(delivery_tag=method.delivery_tag, requeue=True) else: