fs: Use --cutoff-mode hard,soft,catious instead of 3 --max-transfer-mode flags
Fixes #2672
This commit is contained in:
committed by
Nick Craig-Wood
parent
6f1766dd9e
commit
2b3d13a841
@@ -63,7 +63,7 @@ func newAccountSizeName(stats *StatsInfo, in io.ReadCloser, size int64, name str
|
||||
lpTime: time.Now(),
|
||||
max: -1,
|
||||
}
|
||||
if fs.Config.MaxTransferMode != fs.MaxTransferModeSoft {
|
||||
if fs.Config.CutoffMode == fs.CutoffModeHard {
|
||||
acc.max = int64((fs.Config.MaxTransfer))
|
||||
}
|
||||
go acc.averageLoop()
|
||||
|
||||
Reference in New Issue
Block a user