From 7bc67399e4660df55550eaa3328c1e0882c1ae21 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 19 Feb 2022 10:12:51 -0800 Subject: [PATCH] listing for filer stores without prefixed query: break if no more progress --- weed/filer/filerstore_wrapper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.go index 892e55cef..a9650f766 100644 --- a/weed/filer/filerstore_wrapper.go +++ b/weed/filer/filerstore_wrapper.go @@ -309,6 +309,8 @@ func (fsw *FilerStoreWrapper) prefixFilterEntries(ctx context.Context, dirPath u if err != nil { return } + } else { + break } } return