imagery: increase cache lock
authorGrant Slater <git@firefishy.com>
Thu, 21 Jul 2016 14:37:44 +0000 (15:37 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 21 Jul 2016 14:37:44 +0000 (15:37 +0100)
cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb

index d861fb8ae443f511923879e9cdac663cd1072c26..f4031b83d0f648b11ff75ed08d2be41e12be7ae2 100644 (file)
@@ -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;