From: Grant Slater Date: Tue, 31 Jul 2018 20:56:57 +0000 (+0100) Subject: tilecache: increase backend keepalive connection X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/6e6423027a11864dbf4a2c0a9211713173416633 tilecache: increase backend keepalive connection Increase the backend keepalive connections to reduce the number of overall connections to backend. --- diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index 95d7b8b8c..6b5d2c48e 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -3,7 +3,7 @@ upstream tile_cache_backend { server 127.0.0.1; - keepalive 32; + keepalive 256; } # Rates table based on current cookie value