1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

Compare commits

...

1 Commits

View File

@@ -288,7 +288,10 @@ func (dls *Downloaders) _ensureDownloader(r ranges.Range) (err error) {
// defer log.Trace(dls.src, "r=%v", r)("err=%v", &err)
// The window includes potentially unread data in the buffer
window := int64(fs.GetConfig(context.TODO()).BufferSize)
//window := int64(fs.GetConfig(context.TODO()).BufferSize)
// FIXME test disable --buffer-size window
window := int64(0)
// Increase the read range by the read ahead if set
if dls.opt.ReadAhead > 0 {