Remove unused Client.updateRequests

This commit is contained in:
Matt Joiner 2021-11-12 13:55:43 +11:00
parent dea0e41e29
commit 1071e261e1
2 changed files with 0 additions and 6 deletions

View File

@ -82,8 +82,6 @@ type Client struct {
websocketTrackers websocketTrackers
activeAnnounceLimiter limiter.Instance
updateRequests chansync.BroadcastCond
}
type ipStr string

View File

@ -15,10 +15,6 @@ import (
request_strategy "github.com/anacrolix/torrent/request-strategy"
)
func (cl *Client) tickleRequester() {
cl.updateRequests.Broadcast()
}
func (cl *Client) getRequestStrategyInput() request_strategy.Input {
ts := make([]request_strategy.Torrent, 0, len(cl.torrents))
for _, t := range cl.torrents {