]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/rails.rb
Switch to public overpass instance
[chef.git] / cookbooks / web / recipes / rails.rb
index 4cc91d2b44da24b1ce28b013990f7c2ecf5e9d54..43fba5fb4aaae61892edcd7b3a7b6e1477fbe313 100644 (file)
@@ -146,13 +146,14 @@ rails_port "www.openstreetmap.org" do
   trace_icon_storage "gps_images"
   avatar_storage_url "https://openstreetmap-user-avatars.s3.dualstack.eu-west-1.amazonaws.com"
   trace_image_storage_url "https://openstreetmap-gps-images.s3.dualstack.eu-west-1.amazonaws.com"
-  overpass_url "https://query.openstreetmap.org/query-features"
+  # overpass_url "https://query.openstreetmap.org/query-features"
+  # overpass_credentials true
 end
 
 systemd_service "rails-jobs@" do
   description "Rails job queue runner"
   type "simple"
-  environment "RAILS_ENV" => "production", "QUEUE" => "%I"
+  environment "RAILS_ENV" => "production", "QUEUE" => "%I", "SLEEP_DELAY" => "60"
   user "rails"
   working_directory rails_directory
   exec_start "#{node[:ruby][:bundle]} exec rails jobs:work"