add redis set

This commit is contained in:
Henry Oswald 2019-07-02 14:46:58 +01:00
parent 922a1a1aba
commit 92f60690f3

View file

@ -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?