diff --git a/services/real-time/app.coffee b/services/real-time/app.coffee index 91e427f3aa..824cdce5db 100644 --- a/services/real-time/app.coffee +++ b/services/real-time/app.coffee @@ -8,8 +8,6 @@ Settings = require "settings-sharelatex" if Settings.sentry?.dsn? logger.initializeErrorReporting(Settings.sentry.dsn) -console.log "dasdsadasdsadsadsadsad" -console.log Settings.redis.websessions sessionRedisClient = redis.createClient(Settings.redis.websessions) RedisStore = require('connect-redis')(session) diff --git a/services/real-time/config/settings.defaults.coffee b/services/real-time/config/settings.defaults.coffee index f8e76261a6..152a6f058b 100644 --- a/services/real-time/config/settings.defaults.coffee +++ b/services/real-time/config/settings.defaults.coffee @@ -2,7 +2,7 @@ module.exports = redis: realtime: host: process.env['REDIS_HOST'] or "localhostssss" - port: "6379" + port: process.env['REDIS_PORT'] or "6379" password: process.env["REDIS_PASSWORD"] or "" key_schema: clientsInProject: ({project_id}) -> "clients_in_project:#{project_id}" @@ -10,14 +10,14 @@ module.exports = documentupdater: host: process.env['REDIS_HOST'] or "localhostssss" - port: "6379" + port: process.env['REDIS_PORT'] or "6379" password: process.env["REDIS_PASSWORD"] or "" key_schema: pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}" websessions: host: process.env['REDIS_HOST'] or "localhostssss" - port: "6379" + port: process.env['REDIS_PORT'] or "6379" password: process.env["REDIS_PASSWORD"] or "" internal: