From 5ab4185e85d89857e348b3045a13581842e00849 Mon Sep 17 00:00:00 2001 From: Domagoj Kriskovic Date: Fri, 8 Aug 2025 10:10:47 +0200 Subject: [PATCH] [dsmp] Add RedisStreamManager and connect to dsmp redis instance (#27262) * [dsmp] moved redis functions to RedisStreamManager * update env variables * use getEventStream generator function * improve error handling GitOrigin-RevId: 0e4858bb9a49693664cc472179e838a4d81041a8 --- develop/dev.env | 1 + services/web/local-test.env | 1 + 2 files changed, 2 insertions(+) diff --git a/develop/dev.env b/develop/dev.env index 6ebbbb1ffd..cf8d1991c1 100644 --- a/develop/dev.env +++ b/develop/dev.env @@ -13,6 +13,7 @@ MONGO_URL=mongodb://mongo/sharelatex?directConnection=true NOTIFICATIONS_HOST=notifications PROJECT_HISTORY_HOST=project-history QUEUES_REDIS_HOST=redis +DSMP_REDIS_HOST=redis REALTIME_HOST=real-time REDIS_HOST=redis SESSION_SECRET=foo diff --git a/services/web/local-test.env b/services/web/local-test.env index ff6fabe866..6acb592d1e 100644 --- a/services/web/local-test.env +++ b/services/web/local-test.env @@ -3,6 +3,7 @@ CLEANUP_MONGO=true REDIS_HOST=127.0.0.1 REDIS_DB=5 QUEUES_REDIS_HOST=127.0.0.1 +DSMP_REDIS_HOST=127.0.0.1 PUBSUB_REDIS_HOST=127.0.0.1 RATELIMITER_REDIS_HOST=127.0.0.1 GCLOUD_2_REDIS_HOST=127.0.0.1