Skip to content
Extraits de code Groupes Projets
  • Lincoln Stoll's avatar
    6ac6dc10
    Don't set key for logfile on Heroku · 6ac6dc10
    Lincoln Stoll a rédigé
    This fixes the issue reported in #5947. Sidekiq will only log to stdout when this key evals to false, so this can't be forced with an empty string. This change eliminates the key altogether when running on Heroku.
    
    closes #6500
    6ac6dc10
    Historique
    Don't set key for logfile on Heroku
    Lincoln Stoll a rédigé
    This fixes the issue reported in #5947. Sidekiq will only log to stdout when this key evals to false, so this can't be forced with an empty string. This change eliminates the key altogether when running on Heroku.
    
    closes #6500
sidekiq.yml 410 o
<% require_relative 'config/load_config' %>
---
:verbose: false
<% unless AppConfig.heroku? %>
:logfile: "<%= AppConfig.sidekiq_log %>"
<% end %>
:concurrency: <%= AppConfig.environment.sidekiq.concurrency.to_i %>
:queues:
  - socket_webfinger
  - photos
  - http_service
  - dispatch
  - mail
  - delete_account
  - receive_local
  - receive
  - receive_salmon
  - http
  - export
  - maintenance
  - default