fix async

This commit is contained in:
Torsten 2023-01-24 22:28:18 +02:00
parent 5423adfc27
commit e7afb293c9
2 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,8 @@ module Volunteers
config.hosts << "green-machine.local" #our "staging"
config.hosts << "volunteers.hubfeenix.fi" #production
config.active_job.queue_adapter = :sucker_punch
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files

View File

@ -309,4 +309,6 @@ Devise.setup do |config|
# changed. Defaults to true, so a user is signed in automatically after changing a password.
# config.sign_in_after_change_password = true
end
Devise::Async.backend = :sucker_punch
Devise::Async.setup do |config|
config.enabled = true
end