-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default on SFTP max_requests to avoid excessive memory usage
This commit changes the way the default number of parallel SFTP requests is determined. Instead of always defaulting to 128, lower values are used for large block sizes, to reduce memory usage. With larger block sizes, there's no need for as many parallel requests to keep the pipe full. The minimum default is now 16, for block sizes of 256 KB or more. The maximum default is 128, for block sizes of 32 KB or below.
- Loading branch information
Showing
2 changed files
with
64 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters