"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
fs/accounting: increase maximum burst size of token bucket
Nick Craig-Wood7d74686698d9
diff --git a/fs/accounting/token_bucket.go b/fs/accounting/token_bucket.goindex 124deda70..e71091ecf 100644--- a/fs/accounting/token_bucket.go+++ b/fs/accounting/token_bucket.go@@ -21,7 +21,7 @@ var (currLimit fs.BwTimeSlot)-const maxBurstSize = 1 * 1024 * 1024 // must be bigger than the biggest request+const maxBurstSize = 4 * 1024 * 1024 // must be bigger than the biggest request// make a new empty token bucket with the bandwidth givenfunc newTokenBucket(bandwidth fs.SizeSuffix) *rate.Limiter {