apparently cron needs to be explicitly enabled
This commit is contained in:
parent
5229867d4d
commit
de85fe72a4
|
@ -36,6 +36,8 @@ module Websites
|
||||||
config.action_controller.action_on_unpermitted_parameters = :raise
|
config.action_controller.action_on_unpermitted_parameters = :raise
|
||||||
config.action_dispatch.default_headers.clear
|
config.action_dispatch.default_headers.clear
|
||||||
config.active_job.queue_adapter = :good_job
|
config.active_job.queue_adapter = :good_job
|
||||||
|
config.good_job.poll_interval = 10
|
||||||
|
config.good_job.enable_cron = true
|
||||||
|
|
||||||
config.middleware.insert_before(0, Middleware::DevHost) if Rails.env.development?
|
config.middleware.insert_before(0, Middleware::DevHost) if Rails.env.development?
|
||||||
config.middleware.insert_before(ActionDispatch::Static, Middleware::CustomStatic, {
|
config.middleware.insert_before(ActionDispatch::Static, Middleware::CustomStatic, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user