[#0] tree: Increase batch size
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
1f3e09647a
commit
45dd5a692f
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ type stackItem struct {
|
|||
}
|
||||
|
||||
func getSortedSubTree(ctx context.Context, srv TreeService_GetSubTreeServer, cid cidSDK.ID, b *GetSubTreeRequest_Body, forest pilorama.Forest) error {
|
||||
const batchSize = 1000
|
||||
const batchSize = 100_000
|
||||
|
||||
// For backward compatibility.
|
||||
rootIDs := b.GetRootId()
|
||||
|
|
Loading…
Add table
Reference in a new issue