Skip to content

Commit

Permalink
Merge pull request #935 from vfadc/fix/use-keepAliveInterval-from-ssh…
Browse files Browse the repository at this point in the history
…-config

fix(apple): use keepAliveInterval from ssh config
  • Loading branch information
Malinskiy authored May 15, 2024
2 parents 8a3ab31 + e32e37b commit 8ca459c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ConnectionFactory(
private val logger = com.malinskiy.marathon.log.MarathonLogging.logger {}
private val fileBridges = hashMapOf<RsyncTarget, RsyncFileBridge>()
private val sshCommandExecutors = hashMapOf<Transport.Ssh, SshjCommandExecutor>()
private val sshFactory = SshjCommandExecutorFactory()
private val sshFactory = SshjCommandExecutorFactory(keepAliveInterval = sshConfiguration.keepAliveInterval)

private val connectionCounter = HashMap<CommandExecutor, Int>()
private val lock = Object()
Expand Down

0 comments on commit 8ca459c

Please sign in to comment.