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

master
unarist 8 years ago committed by Eugen Rochko
parent 5e8d037e27
commit c972e1ee1f
  1. 2
      streaming/index.js

@ -80,7 +80,7 @@ const startWorker = (workerId) => {
development: { development: {
user: process.env.DB_USER || pg.defaults.user, user: process.env.DB_USER || pg.defaults.user,
password: process.env.DB_PASS || pg.defaults.password, 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, host: process.env.DB_HOST || pg.defaults.host,
port: process.env.DB_PORT || pg.defaults.port, port: process.env.DB_PORT || pg.defaults.port,
max: 10, max: 10,

Loading…
Cancel
Save