accounting: clear finished transfer in stats-reset

In order to reduce memory usage `stats-reset` also
clears finished transfers.

Fixes #3734
This commit is contained in:
Maciej Zimnoch
2019-11-14 15:35:49 +01:00
committed by Nick Craig-Wood
parent 7cf056b2c2
commit f5443ac939
4 changed files with 45 additions and 6 deletions

View File

@@ -521,8 +521,8 @@ The value for "eta" is null if an eta cannot be determined.
### core/stats-reset: Reset stats. {#core/stats-reset}
This clears counters and errors for all stats or specific stats group if group
is provided.
This clears counters, errors and finished transfers for all stats or specific
stats group if group is provided.
Parameters