Increase listing limit

This commit is contained in:
Arpad Müller
2024-06-07 00:26:02 +02:00
parent a9963db8c3
commit 8fcb236783

View File

@@ -296,7 +296,7 @@ pub(crate) async fn main(cmd: &LayerCmd) -> Result<()> {
let cancel = CancellationToken::new();
let path = RemotePath::from_string(tenant_remote_prefix)?;
let max_files = NonZeroU32::new(16000);
let max_files = NonZeroU32::new(128_000);
let files_list = storage
.list(Some(&path), ListingMode::NoDelimiter, max_files, &cancel)
.await?;