Skip to content

Commit 6424545

Browse files
DenisaCGafshin
andauthored
increase chunk size when retrieving list of contents
Co-authored-by: Afshin Taylor Darian <[email protected]>
1 parent c5d0894 commit 6424545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_drives/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async def get_contents(self, drive_name, path):
228228
is_dir = await self._file_system._isdir(drive_name + '/' + path)
229229

230230
if is_dir == True:
231-
chunk_size = 100
231+
chunk_size = 1024
232232
if self._max_files_listed < chunk_size:
233233
chunk_size = self._max_files_listed
234234
no_batches = int(self._max_files_listed/chunk_size)

0 commit comments

Comments
 (0)