ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajmas <>
Subject [GitHub] ant pull request: increase buffer size to improve transfer speed
Date Wed, 22 Apr 2015 11:35:05 GMT
Github user ajmas commented on a diff in the pull request:
    --- Diff: src/main/org/apache/tools/ant/taskdefs/optional/ssh/ ---
    @@ -36,7 +36,7 @@
     public class ScpToMessage extends AbstractSshMessage {
         private static final int HUNDRED_KILOBYTES = 102400;
    -    private static final int BUFFER_SIZE = 1024;
    +    private static final int BUFFER_SIZE = 100*1024;
    --- End diff --
    Any reason you don't make BUFFER = HUNDRED_KILOBYTES, since that constant is defined just

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message