aboutsummaryrefslogtreecommitdiff
path: root/src/server/Session
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Session')
-rw-r--r--src/server/Session/session.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/Session/session.ts b/src/server/Session/session.ts
index d46e6b6e7..ec3d46ac1 100644
--- a/src/server/Session/session.ts
+++ b/src/server/Session/session.ts
@@ -487,7 +487,8 @@ export namespace Session {
serverPort: ports.server,
socketPort: ports.socket,
pollingIntervalSeconds: intervalSeconds,
- session_key: this.key
+ session_key: this.key,
+ DB: process.env.DB
});
this.mainLog(cyan(`spawned new server worker with process id ${this.activeWorker.process.pid}`));
// an IPC message handler that executes actions on the master thread when prompted by the active worker
@@ -682,4 +683,4 @@ export namespace Session {
}
-} \ No newline at end of file
+}