Skip to content

Commit

Permalink
Use smaller pages for listing files in Swift
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Nov 15, 2023
1 parent a4258d9 commit 0d6c8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/vfs/vfsswift/fsck_v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (sfs *swiftVFSV3) checkFiles(
fileIDs[f.DocID] = struct{}{}
}

opts := &swift.ObjectsOpts{Limit: 10_000}
opts := &swift.ObjectsOpts{Limit: 5_000}
err = sfs.c.ObjectsWalk(sfs.ctx, sfs.container, opts, func(ctx context.Context, opts *swift.ObjectsOpts) (interface{}, error) {
objs, err := sfs.c.Objects(sfs.ctx, sfs.container, opts)
if err != nil {
Expand Down

0 comments on commit 0d6c8ae

Please sign in to comment.