Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: address "too many open files" error when pushing large bindles
Pushing a bindle that contains many assets using `StandaloneRead::push` can result in a "too many open files" error on POSIX systems with a default file descriptor limit of 1024. This is due to the unlimited concurrency of `future::join_all`. The alternative is to use `futures::StreamExt::buffer_unordered` instead, which accepts a parameter to limit maximum concurrency. This fixes #336. Signed-off-by: Joel Dice <joel.dice@gmail.com>
- Loading branch information