Browse Source

use 1000 per batch

pull/2354/head
Chris Lu 3 years ago
parent
commit
2b9aab3442
  1. 2
      weed/filer/redis3/kv_directory_children.go

2
weed/filer/redis3/kv_directory_children.go

@ -8,7 +8,7 @@ import (
"github.com/go-redis/redis/v8"
)
const maxNameBatchSizeLimit = 5
const maxNameBatchSizeLimit = 1000
func insertChild(ctx context.Context, client redis.UniversalClient, key string, name string) error {
data, err := client.Get(ctx, key).Result()

Loading…
Cancel
Save