Avoid accumulating transfer failure log files unless the assistant is being used.
Only the assistant uses these, and only the assistant cleans them up, so make only git annex transferkeys write them, There is one behavior change from this. If glacier is being used, and a manual git annex get --from glacier fails because the file isn't available yet, the assistant will no longer later see that failed transfer file and retry the get. Hope no-one depended on that old behavior.
This commit is contained in:
parent
a812d598ef
commit
61ccf95004
9 changed files with 38 additions and 23 deletions
|
@ -90,6 +90,6 @@ getKeyFile' key afile dest = dispatch
|
|||
| Remote.hasKeyCheap r =
|
||||
either (const False) id <$> Remote.hasKey r key
|
||||
| otherwise = return True
|
||||
docopy r = download (Remote.uuid r) key afile noRetry $ \p -> do
|
||||
docopy r = download (Remote.uuid r) key afile noRetry noObserver $ \p -> do
|
||||
showAction $ "from " ++ Remote.name r
|
||||
Remote.retrieveKeyFile r key afile dest p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue