From 79cef7e74b70734419c5cde21cb6da5eddf9de9c Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Fri, 20 Oct 2023 17:38:44 +0530 Subject: [PATCH] fix: add redis_socketio for backward compatibility --- compose.yaml | 2 ++ pwd.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/compose.yaml b/compose.yaml index 90ee2652..d70590ad 100644 --- a/compose.yaml +++ b/compose.yaml @@ -20,6 +20,7 @@ services: entrypoint: - bash - -c + # add redis_socketio for backward compatibility command: - > ls -1 apps > sites/apps.txt; @@ -27,6 +28,7 @@ services: bench set-config -gp db_port $$DB_PORT; bench set-config -g redis_cache "redis://$$REDIS_CACHE"; bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; + bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; bench set-config -gp socketio_port $$SOCKETIO_PORT; environment: DB_HOST: ${DB_HOST} diff --git a/pwd.yml b/pwd.yml index 19f4a76a..238a3fda 100644 --- a/pwd.yml +++ b/pwd.yml @@ -18,6 +18,7 @@ services: entrypoint: - bash - -c + # add redis_socketio for backward compatibility command: - > ls -1 apps > sites/apps.txt; @@ -25,6 +26,7 @@ services: bench set-config -gp db_port $$DB_PORT; bench set-config -g redis_cache "redis://$$REDIS_CACHE"; bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; + bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; bench set-config -gp socketio_port $$SOCKETIO_PORT; environment: DB_HOST: db