Skip to content

Commit

Permalink
ipfs: increase batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed May 8, 2024
1 parent d1f34b2 commit 68a1468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs/provide.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (r *Reprovider) Run(ctx context.Context, interval time.Duration) {
for {
start := time.Now()

cids, err := r.store.ProvideCIDs(1000)
cids, err := r.store.ProvideCIDs(5000)
if err != nil {
reprovideSleep = time.Minute
r.log.Error("failed to fetch CIDs to provide", zap.Error(err))
Expand Down

0 comments on commit 68a1468

Please sign in to comment.