From a909eccc433a5af2b862ec862500ab789b68484e Mon Sep 17 00:00:00 2001 From: AndresOrtegaGuerrero Date: Wed, 22 Nov 2023 08:17:18 +0000 Subject: [PATCH] rabbitmq consumer_timeout as undefined --- .../before-notebook.d/30_start-rabbitmq-arm64.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/stack/base-with-services/before-notebook.d/30_start-rabbitmq-arm64.sh b/stack/base-with-services/before-notebook.d/30_start-rabbitmq-arm64.sh index c19763a2..95830a49 100644 --- a/stack/base-with-services/before-notebook.d/30_start-rabbitmq-arm64.sh +++ b/stack/base-with-services/before-notebook.d/30_start-rabbitmq-arm64.sh @@ -19,8 +19,15 @@ echo LOG_BASE="${RABBITMQ_DATA_DIR}/log" >> "${RMQ_ETC_DIR}/rabbitmq-env.conf" # RabbitMQ with versions >= 3.8.15 have reduced some default timeouts # baseimage phusion/baseimage:jammy-1.0.0 running ubuntu 22.04 will install higher version of rabbimq by apt. # using workaround from https://github.com/aiidateam/aiida-core/wiki/RabbitMQ-version-to-use -# set timeout to 100 hours -echo "consumer_timeout=3600000" >> "${RMQ_ETC_DIR}/rabbitmq.conf" +# setting the consumer_timeout to undefined disables the timeout +cat > "${RMQ_ETC_DIR}/advanced.config" <