only run sshCleanup when the command actually used ssh connection caching
Optimises query commands that do not. More importantly, avoids any ssh connection cleanup delay causing problems at the end of such commands.
This commit is contained in:
parent
b63276309e
commit
8e2997aa69
3 changed files with 6 additions and 4 deletions
|
@ -13,4 +13,5 @@ data CleanupAction
|
|||
= RemoteCleanup UUID
|
||||
| StopHook UUID
|
||||
| FsckCleanup
|
||||
| SshCachingCleanup
|
||||
deriving (Eq, Ord)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue