fix: don't double count webseed download data rate (#7235)

Regression from f1a53840f9
This commit is contained in:
Yat Ho
2024-11-07 03:55:58 +08:00
committed by GitHub
parent 2315903015
commit f1102f0b4d
4 changed files with 0 additions and 18 deletions

View File

@@ -143,11 +143,6 @@ public:
return std::nullopt;
}
// Notify the system that `byte_count` of download bandwidth was used
virtual void notifyBandwidthConsumed([[maybe_unused]] int bandwidth_tag, [[maybe_unused]] size_t byte_count)
{
}
// Return the number of bytes that should be allowed. See tr_bandwidth::clamp()
[[nodiscard]] virtual size_t clamp([[maybe_unused]] int bandwidth_tag, size_t byte_count) const
{