Skip to content

Commit 62b177d

Browse files
authored
Add cache configuration (python#577)
1 parent bb43ee6 commit 62b177d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

master/master.cfg

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,22 @@ c["configurators"] = [
110110
)
111111
]
112112

113+
# Note: these cache values are not currently tuned in any meaningful way.
114+
# Some are taken straight from the buildbot docs at
115+
# https://docs.buildbot.net/4.2.1/manual/configuration/global.html#caches
116+
# and others are just guesses. For now, they're mostly meant to see if
117+
# there's any appreciable impact on performance or memory usage.
118+
c["caches"] = {
119+
"Changes": 100,
120+
"Builds": 500,
121+
"chdicts": 100,
122+
"BuildRequests": 100,
123+
"SourceStamps": 200,
124+
"ssdicts": 200,
125+
"objectids": 10,
126+
"usdicts": 100,
127+
}
128+
113129
# workers are set up in workers.py
114130
c["workers"] = [w.bb_worker for w in WORKERS]
115131

0 commit comments

Comments
 (0)