FIX: sidekiq is using _forim_session (#9825)

Configure Sidekiq to use _forum_session instead of a rack.session
This commit is contained in:
Krzysztof Kotlarek 2020-05-21 08:19:21 +10:00 committed by GitHub
parent 62ecb2885f
commit bf7103343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ Discourse::Application.routes.draw do
post "webhooks/sparkpost" => "webhooks#sparkpost"
scope path: nil, constraints: { format: /.*/ } do
Sidekiq::Web.set :sessions, Rails.application.config.session_options
if Rails.env.development?
mount Sidekiq::Web => "/sidekiq"
mount Logster::Web => "/logs"