Ema has submitted this change and it was merged. ( 
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(-)

Approvals:
  Ema: Verified; Looks good to me, approved
  BBlack: Looks good to me, but someone else must approve
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I76de256848efc34b6dffc9f4c01efea088f94430
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>
Gerrit-Reviewer: BBlack <bbl...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to