Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ischasny committed Nov 29, 2023
1 parent 93d9e3b commit ecaf5c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions piecedirectory/piecedirectory.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func NewPieceDirectory(store *bdclient.Store, pr types.PieceReader, addIndexThro
for _, opt := range opts {
opt(pd.settings)
}
pd.settings.dataSegmentReaderBufferSize = 127 * (pd.settings.dataSegmentReaderBufferSize / 127)

expireCallback := func(key string, reason ttlcache.EvictionReason, value interface{}) {
log.Debugw("expire callback", "piececid", key, "reason", reason)
Expand Down

0 comments on commit ecaf5c8

Please sign in to comment.