[gold] Increase gold index limits for CLs
Looking at the metrics, we can probably extend this by a week and still
be fine as far as RAM consumption and the number of CLs indexed goes.
Change-Id: I87f5ce1a447e18b066181c49ed484f5ba4e15f74
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/290763
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
diff --git a/golden/go/indexer/indexer.go b/golden/go/indexer/indexer.go
index 9133fd7..293f7ed 100644
--- a/golden/go/indexer/indexer.go
+++ b/golden/go/indexer/indexer.go
@@ -724,14 +724,14 @@
const (
// maxAgeOfOpenCLsToIndex is the maximum time between now and a CL's last updated time that we
// will still index.
- maxAgeOfOpenCLsToIndex = 3 * 24 * time.Hour
+ maxAgeOfOpenCLsToIndex = 10 * 24 * time.Hour
// We only keep around open CLs in the index. When a CL is closed, we don't update the indices
// any more. These entries will expire and be removed from the cache after
// changelistCacheExpirationDuration time has passed.
changelistCacheExpirationDuration = 24 * time.Hour
// maxCLsToIndex is the maximum number of CLs we query each loop to index them. Hopefully this
// limit isn't reached regularly.
- maxCLsToIndex = 1000
+ maxCLsToIndex = 2000
)
// calcChangeListIndices goes through all open changelists within a given window and computes