From 2b9aab344228cfbb0ba3da5f410eb76bd41d18ea Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 4 Oct 2021 01:03:40 -0700 Subject: [PATCH] use 1000 per batch --- weed/filer/redis3/kv_directory_children.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/redis3/kv_directory_children.go b/weed/filer/redis3/kv_directory_children.go index 5465a833d..16d921d03 100644 --- a/weed/filer/redis3/kv_directory_children.go +++ b/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()