| 665 | |
| 666 | |
| 667 | class TransferConfig: |
| 668 | def __init__( |
| 669 | self, |
| 670 | multipart_threshold=8 * MB, |
| 671 | max_concurrency=10, |
| 672 | multipart_chunksize=8 * MB, |
| 673 | num_download_attempts=5, |
| 674 | max_io_queue=100, |
| 675 | ): |
| 676 | self.multipart_threshold = multipart_threshold |
| 677 | self.max_concurrency = max_concurrency |
| 678 | self.multipart_chunksize = multipart_chunksize |
| 679 | self.num_download_attempts = num_download_attempts |
| 680 | self.max_io_queue = max_io_queue |
| 681 | |
| 682 | |
| 683 | class S3Transfer: |