mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 01:11:44 +00:00
Update app.coffee
This commit is contained in:
parent
8042a415ec
commit
42e5d2fb6e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,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?
|
||||
|
|
Loading…
Reference in a new issue