mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
add redis set
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user