You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Go cache has fixed trim settings. It updates mtimes hourly and trims
daily, deleting anything older than five days. This is too conservative
for CI caches. We only want to retain caches used in the current run.
We can achieve this by setting the mtime of all cache files to a time
between one hour and five days ago. After the build, all used cache
entries will have a newer mtime. Everything else can be trimmed.
Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit 5d8587e)
0 commit comments