"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
accounting: fix wrong message on SIGUSR2 to enable/disable bwlimit
Nick Craig-Wood7d32da441e49
diff --git a/fs/accounting/token_bucket.go b/fs/accounting/token_bucket.goindex a306096e8..a8b4bcd2d 100644--- a/fs/accounting/token_bucket.go+++ b/fs/accounting/token_bucket.go@@ -41,7 +41,12 @@ type tokenBucket struct {//// Call with lock heldfunc (bs *buckets) _isOff() bool { //nolint:unused // Don't include unused when running golangci-lint in case its on windows where this is not called- return bs[0] == nil+ for i := range bs {+ if bs[i] != nil {+ return false+ }+ }+ return true}// Disable the limits