git-annex/Remote
Joey Hess 44de3fff0b
avoid rsync/gcrypt ssh startup delay with -J
Avoid a delay at startup when concurrency is enabled and there are
rsync or gcrypt special remotes, which was caused by git-annex
opening a ssh connection to the remote too early.

sshOptions makes a connection to the ssh server if one is not already open,
when concurrency is enabled. Avoid doing that at startup, when the remote
list is being built, but the remote may not be used at all.

Instead, rsync/gcrypt now runs sshOptions once per ssh connection to the
server. This should not be significant overhead since Remote.Git already
has the same overhead (as do Bup and Ddar).
2019-06-13 11:16:38 -04:00
..
Directory update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
External make everything build again after ByteString Key changes 2019-01-11 16:39:46 -04:00
Helper fix build 2019-05-28 11:18:05 -04:00
Rsync avoid rsync/gcrypt ssh startup delay with -J 2019-06-13 11:16:38 -04:00
WebDAV update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Adb.hs fix storeExportWithContentIdentifier 2019-04-09 19:15:20 -04:00
BitTorrent.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Bup.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Ddar.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Directory.hs improve docs about removeExportDirectory 2019-05-28 11:16:01 -04:00
External.hs better indicate when special remotes do not support renameExport 2019-03-11 12:53:24 -04:00
GCrypt.hs avoid rsync/gcrypt ssh startup delay with -J 2019-06-13 11:16:38 -04:00
Git.hs no remotes support import yet 2019-02-20 16:59:04 -04:00
Glacier.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Hook.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
List.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
P2P.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Rsync.hs avoid rsync/gcrypt ssh startup delay with -J 2019-06-13 11:16:38 -04:00
S3.hs Merge branch 'master' into import-from-s3 2019-05-01 14:30:52 -04:00
Tahoe.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Web.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
WebDAV.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00