We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8000d8c commit f9c0d88Copy full SHA for f9c0d88
src/main/java/org/embulk/output/sftp/SftpFileOutput.java
@@ -218,7 +218,7 @@ private FileObject newSftpFile(URI sftpUri)
218
logger.warn("failed to connect sftp server: " + e.getMessage(), e);
219
220
try {
221
- Thread.sleep(count * 1000); // milliseconds
+ Thread.sleep(((long) Math.pow(2, count) * 1000)); // milliseconds
222
}
223
catch (InterruptedException e1) {
224
// Ignore this exception
0 commit comments