Skip to content

Commit

Permalink
galaxy: Grow the default candidate cache to 1024
Browse files Browse the repository at this point in the history
This is still likely insufficient for high-throughput systems, but 100
is extremely small.
  • Loading branch information
dfinkel committed Jul 29, 2022
1 parent cfdfd0f commit 511b4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxycache.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (universe *Universe) NewGalaxy(name string, cacheBytes int64, getter Backen
gOpts := galaxyOpts{
promoter: &promoter.DefaultPromoter{},
hcRatio: 8, // default hotcache size is 1/8th of cacheBytes
maxCandidates: 100,
maxCandidates: 1024,
clock: clocks.DefaultClock(),
resetIdleStatsAge: time.Minute,
}
Expand Down

0 comments on commit 511b4b6

Please sign in to comment.