mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-07 23:41:33 +02:00
/exec API: drop session reconnection support (#487)
This commit is contained in:
@@ -66,12 +66,6 @@ func WithWorkerOfflineTimeout(workerOfflineTimeout time.Duration) Option {
|
||||
}
|
||||
}
|
||||
|
||||
func WithExecSessionRetentionTTL(execSessionRetentionTTL time.Duration) Option {
|
||||
return func(controller *Controller) {
|
||||
controller.execSessionRetentionTTL = execSessionRetentionTTL
|
||||
}
|
||||
}
|
||||
|
||||
func WithExecSSHConnectionKeepaliveInterval(execSSHConnectionKeepaliveInterval time.Duration) Option {
|
||||
return func(controller *Controller) {
|
||||
controller.execSSHConnectionKeepaliveInterval = execSSHConnectionKeepaliveInterval
|
||||
|
||||
Reference in New Issue
Block a user