Retry transfers to exporttree=yes remotes same as for other remotes
The comment about noRetry is not well-justified, because transfers to many remotes cannot be resumed, but retries are still allowed for those.
This commit is contained in:
parent
1a42b2c5a3
commit
46eb48d7c0
4 changed files with 12 additions and 3 deletions
|
@ -281,9 +281,7 @@ performExport r db ek af contentsha loc allfilledvar = do
|
|||
sent <- tryNonAsync $ case ek of
|
||||
AnnexKey k -> ifM (inAnnex k)
|
||||
( notifyTransfer Upload af $
|
||||
-- Using noRetry here because interrupted
|
||||
-- exports cannot be resumed.
|
||||
upload (uuid r) k af noRetry $ \pm -> do
|
||||
upload (uuid r) k af stdRetry $ \pm -> do
|
||||
let rollback = void $
|
||||
performUnexport r db [ek] loc
|
||||
sendAnnex k rollback $ \f ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue