diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-03-08 20:15:57 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-08 20:15:57 +0100 |
commit | 674fe32f972614c1617e61bf946e58006d18d019 (patch) | |
tree | 62e4a703d86ffa2203a7961a3d76d36970226e05 /streaming | |
parent | 29a09858f6700c0a6eb17797836589ed0839dec9 (diff) | |
parent | 3f4a6d44fe8366dc4d71501dc2d799d641af4687 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/streaming/index.js b/streaming/index.js index 406ee09e1..2e3439886 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -89,6 +89,9 @@ const startWorker = (workerId) => { host: process.env.DB_HOST || pg.defaults.host, port: process.env.DB_PORT || pg.defaults.port, max: 10, + ssl: { + sslmode: process.env.DB_SSLMODE || 'prefer', + }, }, production: { @@ -98,6 +101,9 @@ const startWorker = (workerId) => { host: process.env.DB_HOST || 'localhost', port: process.env.DB_PORT || 5432, max: 10, + ssl: { + sslmode: process.env.DB_SSLMODE || 'prefer', + }, }, }; |