From bcd362fcd5a0332e7f5980650d5c12c78b91d457 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 17 Jul 2020 15:35:15 +0100 Subject: [PATCH] accounting: fix documentation for speed/speedAvg Fix the documentation for the very confusingly names speed and speedAvg stats items. See: https://github.com/rclone/rclone-webui-react/issues/99 --- fs/accounting/stats_groups.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/accounting/stats_groups.go b/fs/accounting/stats_groups.go index cffa4ac34..d59576d9b 100644 --- a/fs/accounting/stats_groups.go +++ b/fs/accounting/stats_groups.go @@ -104,8 +104,8 @@ Returns the following values: "eta": estimated time in seconds until file transfer completion "name": name of the file, "percentage": progress of the file transfer in percent, - "speed": speed in bytes/sec, - "speedAvg": speed in bytes/sec as an exponentially weighted moving average, + "speed": average speed over the whole transfer in bytes/sec, + "speedAvg": current speed in bytes/sec as an exponentially weighted moving average, "size": size of the file in bytes } ],