git-annex/Remote
Joey Hess 529f488ec4
fix a thundering herd problem
Avoid repeatedly opening keys db when accessing a local git remote and -J
is used.

What was happening was that Remote.Git.onLocal created a new annex state
as each thread started up. The way the MVar was used did not prevent that.
And that, in turn, led to repeated opening of the keys db, as well as
probably other extra work or resource use.

Also managed to get rid of Annex.remoteannexstate, and it turned out there
was an unncessary Maybe in the keysdbhandle, since the handle starts out
closed.
2020-04-17 17:09:29 -04:00
..
Directory some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
External add LISTCONFIGS to external special remote protocol 2020-01-17 16:07:17 -04:00
Helper fix builds build 2020-03-10 13:50:46 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs adb: Better messages when the adb command is not installed 2020-04-02 10:48:28 -04:00
BitTorrent.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Bup.hs fix all remaining -Wincomplete-uni-patterns warnings 2020-04-15 13:55:08 -04:00
Ddar.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Directory.hs some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
External.hs GETCONFIG name fix 2020-03-09 12:38:04 -04:00
GCrypt.hs Fix a potential failure to parse git config 2020-04-13 13:05:41 -04:00
Git.hs fix a thundering herd problem 2020-04-17 17:09:29 -04:00
GitLFS.hs git-annex config: guard against non-repo-global configs 2020-03-02 15:54:18 -04:00
Glacier.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Hook.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
List.hs Merge branch 'v7' 2020-02-26 18:15:18 -04:00
P2P.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Rsync.hs mostly finished with createDirectoryUnder conversion 2020-03-06 11:57:15 -04:00
S3.hs Merge branch 'v7' 2020-02-26 18:15:18 -04:00
Tahoe.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Web.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
WebDAV.hs webdav: Made exporttree remotes faster by caching connection to the server 2020-03-20 12:48:43 -04:00