mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
fix: don't double count webseed download data rate (#7235)
Regression from f1a53840f9
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user