call app real-time

This commit is contained in:
Henry Oswald 2019-01-31 15:33:11 +00:00
parent 2e46cfb3eb
commit 23e0ce678e

View file

@ -5,7 +5,7 @@ Metrics.initialize(Settings.appName or "real-time")
console.log Settings.redis
logger = require "logger-sharelatex"
logger.initialize("real-time-sharelatex")
logger.initialize("real-time")
Metrics.event_loop.monitor(logger)
express = require("express")
@ -20,10 +20,6 @@ RedisStore = require('connect-redis')(session)
SessionSockets = require('session.socket.io')
CookieParser = require("cookie-parser")
sessionRedisClient.set "hello-a", "hello-there", (err)->
console.log "setting hello-a", err
DrainManager = require("./app/js/DrainManager")
# Set up socket.io server