diff options
Diffstat (limited to 'doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment')
-rw-r--r-- | doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment b/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment index cd692ca40..2daef8727 100644 --- a/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment +++ b/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_6_f5fe8d4cecfceec5cb4a03dd054d2e0a._comment @@ -37,9 +37,6 @@ non-concurrent uses the current, faster path. prepSocket takes a shared file level lock of the socket's lock file, which is used to tell when another git-annex process is using the connection multiplexer. -So, an optimisation would be for prepSocket to try to take a non-blocking -exclusive file-level lock. If it fails, it knows some process has -already taken the shared lock, and so the multiplexer is started and no -password prompting needs to be done. So it does not need to try to start -the multiplexer in this case. +So, an optimisation would be for prepSocket to check if it's already +taken that shared lock, and then it does not need to start the multiplexer. """]] |