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

pull/3487/merge
unarist 2017-06-26 08:45:50 +09:00 committed by Eugen Rochko
parent 5e8d037e27
commit c972e1ee1f
1 changed files with 1 additions and 1 deletions

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,