embulk-output-sftp 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d9834eb7ff92d71bfd153216229ad010c7449d4
4
- data.tar.gz: ab85abd9efaca6457c57e1349c0b0494f8a769e1
3
+ metadata.gz: 64ff7608df9289a70721a9c4bf7685a66929e197
4
+ data.tar.gz: 14fbf8a0b136c44e999f1aa15b333c19f32eca24
5
5
  SHA512:
6
- metadata.gz: 28fe14dde5b881475e5145272343ca6582072a29233c06871d4d24a94333c414ae1aed1643749d46c22bfc7c585dedc917d1714f11b35dfe8db8619ad08a00e5
7
- data.tar.gz: 029de058c1e7167329c3d4bcfa95fd58d9a2b7e26319cf3365a91f4a7563999697d2476b91858fa8557d9362068484760e2c269e6eea05d7405bb5d44d858ef0
6
+ metadata.gz: e58d44d3f650e31e3a5a88405299b66148e0ca8507330e4ebe093978f275504b48d6969d773394c251ed1653971d051077b5a38119f81b0540d5504514678141
7
+ data.tar.gz: f2735c0c06d09cdaf6539c96133ffe06b001e3ec4d2a1f3e0f1f690b3898136bfd76f8aae09f0401a5cc4b9545b6112abc6ae2377739c3f55aff26b8688626af
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 0.1.6 (2018-03-13)
2
+ - Fix: Change input stream buffer size to 4MB to fix hanging issue
3
+ - https://github.com/embulk/embulk-output-sftp/pull/46
1
4
  0.1.5 (2018-03-13)
2
5
  - Fix: Fix random hanging and log transfer progress
3
6
  - https://github.com/embulk/embulk-output-sftp/pull/45
data/build.gradle CHANGED
@@ -17,7 +17,7 @@ configurations {
17
17
  }
18
18
 
19
19
  group = "org.embulk.output.sftp"
20
- version = "0.1.5"
20
+ version = "0.1.6"
21
21
  sourceCompatibility = 1.7
22
22
  targetCompatibility = 1.7
23
23
 
@@ -152,7 +152,7 @@ public class SftpUtils
152
152
  BufferedOutputStream outputStream = new BufferedOutputStream(remoteFile.getContent().getOutputStream());
153
153
  ) {
154
154
  logger.info("Uploading to remote sftp file ({} KB): {}", size / 1024, remoteFile.getPublicURIString());
155
- byte[] buffer = new byte[8 * 1024]; // 8KB ~ default buffer size of BufferedOutputStream
155
+ byte[] buffer = new byte[4 * 1024 * 1024]; // 4MB buffer size
156
156
  int len = inputStream.read(buffer);
157
157
  long total = 0;
158
158
  int progress = 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Civitaspo
@@ -73,7 +73,7 @@ files:
73
73
  - classpath/commons-io-2.6.jar
74
74
  - classpath/commons-logging-1.2.jar
75
75
  - classpath/commons-vfs2-2.2.jar
76
- - classpath/embulk-output-sftp-0.1.5.jar
76
+ - classpath/embulk-output-sftp-0.1.6.jar
77
77
  - classpath/jsch-0.1.54.jar
78
78
  homepage: https://github.com/embulk/embulk-output-sftp
79
79
  licenses: