]> cat aescling's git repositories - mastodon.git/commitdiff
Use local default for postgres host in node streaming service (#3240)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Tue, 23 May 2017 00:27:24 +0000 (20:27 -0400)
committerGitHub <noreply@github.com>
Tue, 23 May 2017 00:27:24 +0000 (20:27 -0400)
This location varies across postgres installations, and it seems like the pg
package knows how to guess correctly on each system.

streaming/index.js

index 627b677a8ec1ae884a8fa80332525304ae814212..9e467459056ad48ebe1a3ba7934ea718af6b3e3f 100644 (file)
@@ -86,7 +86,6 @@ if (cluster.isMaster) {
   const pgConfigs = {
     development: {
       database: 'mastodon_development',
-      host:     '/var/run/postgresql',
       max:      10,
     },