-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid opening too many SSH sessions (#229)
Sometimes, a race condition caused the `SSHConnector` to open more than the maximum allowed sessions (specified through the `maxConcurrentSessions` parameter). This led to broken connections and errors in workflow executions. This commit prvents this error by refactoring the `SSHConnector` internals. It also adds a no-regression test that transfers 20 files simultaneously to and from a remote SSH location.
- Loading branch information
1 parent
7b451be
commit 51faa3e
Showing
6 changed files
with
429 additions
and
224 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,8 +155,7 @@ | |
} | ||
}, | ||
"required": [ | ||
"nodes", | ||
"username" | ||
"nodes" | ||
], | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.