1
0
Fork 0
forked from fedi/mastodon

Ignore DB_NAME for development env on streaming as well as rails side (#3948)

This commit is contained in:
unarist 2017-06-26 08:45:50 +09:00 committed by Eugen Rochko
parent 5e8d037e27
commit c972e1ee1f

View file

@ -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,