X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8a91485750044e1a2371ac2623247354893a84f4..a2b9bd4dfa96e6919647b168c6fb857af839ced2:/roles/web.rb?ds=inline diff --git a/roles/web.rb b/roles/web.rb index f1ecaac8c..ec6ca9b8e 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -11,11 +11,14 @@ default_attributes( } }, :passenger => { - :pool_idle_time => 0 + :pool_idle_time => 3600 }, :web => { - :status => "database_readonly", - :database_host => "ramoth.ic.openstreetmap.org", - :readonly_database_host => "ramoth.ic.openstreetmap.org" + :status => "online", + :memcached_servers => %w[rails4.bm rails5.bm] } ) + +run_list( + "role[web-db]" +)