fix async
This commit is contained in:
parent
5423adfc27
commit
e7afb293c9
@ -26,6 +26,8 @@ module Volunteers
|
|||||||
config.hosts << "green-machine.local" #our "staging"
|
config.hosts << "green-machine.local" #our "staging"
|
||||||
config.hosts << "volunteers.hubfeenix.fi" #production
|
config.hosts << "volunteers.hubfeenix.fi" #production
|
||||||
|
|
||||||
|
config.active_job.queue_adapter = :sucker_punch
|
||||||
|
|
||||||
# Configuration for the application, engines, and railties goes here.
|
# Configuration for the application, engines, and railties goes here.
|
||||||
#
|
#
|
||||||
# These settings can be overridden in specific environments using the files
|
# These settings can be overridden in specific environments using the files
|
||||||
|
@ -309,4 +309,6 @@ Devise.setup do |config|
|
|||||||
# changed. Defaults to true, so a user is signed in automatically after changing a password.
|
# changed. Defaults to true, so a user is signed in automatically after changing a password.
|
||||||
# config.sign_in_after_change_password = true
|
# config.sign_in_after_change_password = true
|
||||||
end
|
end
|
||||||
Devise::Async.backend = :sucker_punch
|
Devise::Async.setup do |config|
|
||||||
|
config.enabled = true
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user