From 6e6423027a11864dbf4a2c0a9211713173416633 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 31 Jul 2018 21:56:57 +0100 Subject: [PATCH] tilecache: increase backend keepalive connection Increase the backend keepalive connections to reduce the number of overall connections to backend. --- cookbooks/tilecache/templates/default/nginx_tile.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2