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

Change subject: Gerrit: Stop stuffing so many cache things into memory
......................................................................

Gerrit: Stop stuffing so many cache things into memory

The disk cache is fast enough, plus is survives restarts

Change-Id: Iee02c1d2049421c7c9da108ec4c450d484425ed9
---
M modules/gerrit/templates/gerrit.config.erb
1 file changed, 0 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/337193/1

diff --git a/modules/gerrit/templates/gerrit.config.erb 
b/modules/gerrit/templates/gerrit.config.erb
index 1a8e2d1..7d5479f 100644
--- a/modules/gerrit/templates/gerrit.config.erb
+++ b/modules/gerrit/templates/gerrit.config.erb
@@ -51,31 +51,14 @@
     maxWait = 5 min
 [cache]
     directory = cache
-[cache "accounts_byname"]
-    memoryLimit = 2048
-[cache "conflicts"]
-    memoryLimit = 2048
-[cache "groups"]
-    memoryLimit = 2048
-[cache "groups_byuuid"]
-    memoryLimit = 2048
-[cache "ldap_group_existence"]
-    maxAge = 1 hour
-[cache "ldap_groups"]
-    memoryLimit = 2048
 [cache "ldap_groups_byinclude"]
     maxAge = 1 hour
 [cache "ldap_usernames"]
     maxAge = 1 hour
-    memoryLimit = 2048
 [cache "projects"]
-    memoryLimit = 2048
     loadOnStartup = true
-[cache "ssh_keys"]
-    memoryLimit = 2048
 [cache "static_content"]
     maxAge = 1 day
-    memoryLimit = 2048
 [cache "web_sessions"]
     maxAge = 90 days
     memoryLimit = 2048

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee02c1d2049421c7c9da108ec4c450d484425ed9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to