From: Grant Slater Date: Thu, 21 Jul 2016 14:37:44 +0000 (+0100) Subject: imagery: increase cache lock X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/dd513e307f17fd478c164b8cd2dbe9bd1d3aba22 imagery: increase cache lock --- diff --git a/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb index d861fb8ae..f4031b83d 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb @@ -15,7 +15,7 @@ location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" { fastcgi_cache_key "<%= @layer %><%= @revision %> $request_method $1 $2 $3"; fastcgi_keep_conn on; fastcgi_cache_lock on; - fastcgi_cache_lock_timeout 30s; + fastcgi_cache_lock_timeout 60s; fastcgi_cache_valid 200 21d; fastcgi_cache_use_stale error timeout updating http_500 http_503;