From a01523125ea22199e6e8737fb9a39dd2f87ecc7f Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Sun, 8 Oct 2023 00:00:21 +0000 Subject: [PATCH] Improve performance on storage connector --- dash/pipe/connectors/storage/src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dash/pipe/connectors/storage/src/main.rs b/dash/pipe/connectors/storage/src/main.rs index f9c34213..386e0dff 100644 --- a/dash/pipe/connectors/storage/src/main.rs +++ b/dash/pipe/connectors/storage/src/main.rs @@ -38,11 +38,7 @@ impl ::dash_pipe_provider::Function for Function { ctx.disable_store_metadata(); ctx.clone() }, - items: storage - .input - .get_default_metadata() - .list(&storage.input) - .await?, + items: storage.input.get_default_metadata().list_as_empty().await?, }) }