Update app.coffee

This commit is contained in:
Henry Oswald 2019-07-08 11:17:08 +01:00 committed by GitHub
parent 8042a415ec
commit 42e5d2fb6e

View file

@ -61,7 +61,7 @@ app.get "/debug/events", (req, res, next) ->
res.send "debug mode will log next #{Settings.debugEvents} events" res.send "debug mode will log next #{Settings.debugEvents} events"
rclient = require("redis-sharelatex").createClient(Settings.redis.realtime) rclient = require("redis-sharelatex").createClient(Settings.redis.realtime)
rclient.set "hello", "world"
app.get "/health_check/redis", (req, res, next) -> app.get "/health_check/redis", (req, res, next) ->
rclient.healthCheck (error) -> rclient.healthCheck (error) ->
if error? if error?