]> cat aescling's git repositories - mastodon.git/commitdiff
Fix sidekiq "port" being wrong (#3014)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 12 May 2017 15:46:14 +0000 (17:46 +0200)
committerGitHub <noreply@github.com>
Fri, 12 May 2017 15:46:14 +0000 (17:46 +0200)
Sidekiq doesn't need a port, however that env var is used for generating URLs
in development, so when foreman sets it wrong, you get bad URLs from the
streaming API during development

Procfile.dev

index 80666280dcf3bb8652a24ef6ee76e92df87824ad..9084b4263ce8311c0426f6786de9dca49af3cd98 100644 (file)
@@ -1,4 +1,4 @@
 web: PORT=3000 bundle exec puma -C config/puma.rb
-sidekiq: bundle exec sidekiq
+sidekiq: PORT=3000 bundle exec sidekiq
 stream: PORT=4000 yarn run start
 webpack: ./bin/webpack-dev-server --host 0.0.0.0