Disabling the change cache by default.

Since the change cache can mess-up multi-server setups,
it is now disabled by default.

Change-Id: Ia8dc83f675bbfc1f6467cfed29a964554e2b1951
This commit is contained in:
Gustaf Lundh
2012-11-18 18:41:15 -08:00
parent 5367b8bab5
commit 53493773f5
2 changed files with 10 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ public class ChangeCache implements GitReferenceUpdatedListener {
cache(ID_CACHE,
Project.NameKey.class,
new TypeLiteral<List<Change>>() {})
.maximumWeight(1024)
.maximumWeight(0)
.loader(Loader.class);
}
};