Ema has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/353570 )

Change subject: varnish: reduce keep setting on frontends
......................................................................

varnish: reduce keep setting on frontends

Bug: T165063
Change-Id: I76de256848efc34b6dffc9f4c01efea088f94430
---
M modules/role/manifests/cache/instances.pp
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/70/353570/1

diff --git a/modules/role/manifests/cache/instances.pp 
b/modules/role/manifests/cache/instances.pp
index 32add11..5c83f15 100644
--- a/modules/role/manifests/cache/instances.pp
+++ b/modules/role/manifests/cache/instances.pp
@@ -89,6 +89,9 @@
         backend_caches     => $our_backend_caches,
     }
 
+    # Set a reduced keep value for frontends
+    $fe_keep_vcl_config = merge($fe_vcl_config, { 'keep' => '1d', })
+
     # lint:ignore:arrow_alignment
     varnish::instance { "${title}-frontend":
         name               => 'frontend',
@@ -108,7 +111,7 @@
                 'be_opts'  => $fe_cache_be_opts,
             },
         },
-        vcl_config         => $fe_vcl_config,
+        vcl_config         => $fe_keep_vcl_config,
     }
     # lint:endignore
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/353570
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76de256848efc34b6dffc9f4c01efea088f94430
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to