embulk-output-sftp 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a3cc8b06b682fe155dc167c0e0fd997a18b4a5
|
4
|
+
data.tar.gz: 1a0ef68bdb08197ce77cb6e4e897fb05121b142a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 378b46609dffc450f10602326e88676f75f29f05b3436dffebaa6722004cff6799a361beb39de318ffaf076908ee00719cdadcedbb29eee1fac97a1a2b33111b
|
7
|
+
data.tar.gz: 2f383b02a595884182b58ebb36ce3c5b4e804d00ce1f6575cd67099094c5c85f48ec33c2b50bdc070c1d6e80d8e7ce29bc4736b71e45ee43107f94b84cc8f0c8
|
data/build.gradle
CHANGED
Binary file
|
@@ -218,11 +218,13 @@ public class SftpFileOutput
|
|
218
218
|
logger.warn("failed to connect sftp server: " + e.getMessage(), e);
|
219
219
|
|
220
220
|
try {
|
221
|
-
|
221
|
+
long sleepTime = ((long) Math.pow(2, count) * 1000);
|
222
|
+
logger.warn("sleep in next connection retry: {} milliseconds", sleepTime);
|
223
|
+
Thread.sleep(sleepTime); // milliseconds
|
222
224
|
}
|
223
225
|
catch (InterruptedException e1) {
|
224
|
-
// Ignore this exception
|
225
|
-
logger.warn(
|
226
|
+
// Ignore this exception because this exception is just about `sleep`.
|
227
|
+
logger.warn(e1.getMessage(), e1);
|
226
228
|
}
|
227
229
|
logger.warn("retry to connect sftp server: " + count + " times");
|
228
230
|
}
|
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.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Civitaspo
|
@@ -64,7 +64,7 @@ files:
|
|
64
64
|
- src/test/resources/id_rsa.pub
|
65
65
|
- classpath/commons-logging-1.2.jar
|
66
66
|
- classpath/commons-vfs2-2.1.1660580.2.jar
|
67
|
-
- classpath/embulk-output-sftp-0.0.
|
67
|
+
- classpath/embulk-output-sftp-0.0.4.jar
|
68
68
|
- classpath/jsch-0.1.53.jar
|
69
69
|
homepage: https://github.com/civitaspo/embulk-output-sftp
|
70
70
|
licenses:
|
Binary file
|