about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-06-26 08:45:50 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-26 01:45:50 +0200
commitc972e1ee1fdc7ebc8bd4ad764cdf189ca4874764 (patch)
treee85bc9a6cfe2ed87cfb414864fabe74df6943444 /streaming
parent5e8d037e271bdd230fc7ab1e91bcee16ac87e0e1 (diff)
Ignore DB_NAME for development env on streaming as well as rails side (#3948)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js
index 701cb2f55..d69f8fa19 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -80,7 +80,7 @@ const startWorker = (workerId) => {
     development: {
       user:     process.env.DB_USER || pg.defaults.user,
       password: process.env.DB_PASS || pg.defaults.password,
-      database: process.env.DB_NAME || 'mastodon_development',
+      database: 'mastodon_development',
       host:     process.env.DB_HOST || pg.defaults.host,
       port:     process.env.DB_PORT || pg.defaults.port,
       max:      10,