dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
539 stars 29 forks source link

Limit S3 responses to 100 #686

Closed lukemarsden closed 5 years ago

lukemarsden commented 5 years ago

Certain consumers of the S3 API won't cope well with very large lists of files. Limit the files returned to 100 for now, and make the list be breadth-first, so you get all of the files in an outer directory which contains a small number of files and only a subset of the ones in a directory which contains a large number.