1
mirror of https://github.com/rclone/rclone synced 2024-11-27 05:23:40 +01:00
rclone/fs/accounting
buda 517e7d9271
accounting: fix unknown length file transfers count 3 transfers each #6213
This was caused by nested calls to NewTransfer/Done.

This fixes the problem by only incrementing transfers if the remote is
present in the transferMap which means we only increment it once.
2022-06-27 17:56:03 +01:00
..
accounting_other.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
accounting_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
accounting_unix.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
accounting.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
inprogress.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
prometheus.go docs: cleanup spelling of size and rate units 2021-04-27 02:25:52 +03:00
stats_groups_test.go Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
stats_groups.go stats: fix missing StatsInfo fields in the computation of the group sum 2021-11-05 15:33:00 +00:00
stats_test.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
stats.go accounting: fix unknown length file transfers count 3 transfers each #6213 2022-06-27 17:56:03 +01:00
token_bucket_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
token_bucket.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
tpslimit_test.go fs/accounting: fix occasionally failing test on macOS 2021-02-07 14:59:53 +00:00
tpslimit.go accounting: factor --tpslimit code into accounting from fshttp 2021-01-08 10:29:57 +00:00
transfer.go operations: fix goroutine leak in case of copy retry 2021-11-10 16:44:29 +00:00
transfermap.go accounting: fix unknown length file transfers count 3 transfers each #6213 2022-06-27 17:56:03 +01:00