From 92f60690f3ddbbbfc09ce549890058d16f70dfe6 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 2 Jul 2019 14:46:58 +0100 Subject: [PATCH] add redis set --- services/real-time/app.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/real-time/app.coffee b/services/real-time/app.coffee index 6161e63a46..fb8187808b 100644 --- a/services/real-time/app.coffee +++ b/services/real-time/app.coffee @@ -60,6 +60,7 @@ app.get "/debug/events", (req, res, next) -> res.send "debug mode will log next #{Settings.debugEvents} events" rclient = require("redis-sharelatex").createClient(Settings.redis.realtime) +rclient.set "hello", "world" app.get "/health_check/redis", (req, res, next) -> rclient.healthCheck (error) -> if error?