X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0978b7eac93a4c62530bcdc1657664fcf88b74f7..ea7994a0376161b400e6faf13262b98da5b100f3:/cookbooks/web/recipes/rails.rb diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index ab674ba93..72268aace 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -91,12 +91,14 @@ rails_port "www.openstreetmap.org" do thunderforest_key web_passwords["thunderforest_key"] totp_key web_passwords["totp_key"] csp_enforce true + trace_use_job_queue true + diary_feed_delay 12 end systemd_service "rails-jobs@" do description "Rails job queue runner" type "simple" - environment "QUEUE" => "%I" + environment "RAILS_ENV" => "production", "QUEUE" => "%I" user "rails" working_directory rails_directory exec_start "/usr/local/bin/bundle#{ruby_version} exec rake jobs:work"