drop: use commandStages, not transferStages
I cannot find any rationalle for why this was changed before. drop certianly does not do any transfers, so commandStages will perform better.
This commit is contained in:
parent
0bcecb67f5
commit
0d82a88742
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ parseDropFromOption = parseRemoteOption <$> strOption
|
||||||
)
|
)
|
||||||
|
|
||||||
seek :: DropOptions -> CommandSeek
|
seek :: DropOptions -> CommandSeek
|
||||||
seek o = startConcurrency transferStages $
|
seek o = startConcurrency commandStages $
|
||||||
case batchOption o of
|
case batchOption o of
|
||||||
Batch fmt -> batchFilesMatching fmt (go . toRawFilePath)
|
Batch fmt -> batchFilesMatching fmt (go . toRawFilePath)
|
||||||
NoBatch -> withKeyOptions (keyOptions o) (autoMode o)
|
NoBatch -> withKeyOptions (keyOptions o) (autoMode o)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue