mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-25 22:40:44 +01:00
use 1000 per batch
This commit is contained in:
1 parent
366f522a2d
commit
2b9aab3442
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user