diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-09-29 13:39:59 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-09-29 13:39:59 -0400 |
commit | 2c00e328587ac2df9f061c7552840829198a8f18 (patch) | |
tree | d878e7c8a0ef6dd69eb7f133a9f2a421f9bfb797 /doc | |
parent | a4794fc3a56c6b7bdd7b5b1c69a53f53cd14173b (diff) |
comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/get_-J___34__fails__34___to_get_files_with_the_same_key/comment_1_5b3879d1bb992ddf2aafa3fcb41b968f._comment | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/bugs/get_-J___34__fails__34___to_get_files_with_the_same_key/comment_1_5b3879d1bb992ddf2aafa3fcb41b968f._comment b/doc/bugs/get_-J___34__fails__34___to_get_files_with_the_same_key/comment_1_5b3879d1bb992ddf2aafa3fcb41b968f._comment new file mode 100644 index 000000000..11786bb77 --- /dev/null +++ b/doc/bugs/get_-J___34__fails__34___to_get_files_with_the_same_key/comment_1_5b3879d1bb992ddf2aafa3fcb41b968f._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-09-29T16:47:18Z" + content=""" +The only way I can see to improve this would be to keep track of which +keys already have a thread working on them, and avoid a second thread +working on the same key. + +I've started this in the avoid-dup-threads branch. + +Getting key information to commandAction would be quite the plumbing job; +there are something like 50 call sites. + +More difficult, the key is not known yet when commandAction is called in a +lot of cases, and looking up the key redundantly will slow down all +git-annex scanning. Seems that nontrivial changes would be needed to every +command. +"""]] |