Remove unused Client.updateRequests
This commit is contained in:
parent
dea0e41e29
commit
1071e261e1
|
@ -82,8 +82,6 @@ type Client struct {
|
|||
websocketTrackers websocketTrackers
|
||||
|
||||
activeAnnounceLimiter limiter.Instance
|
||||
|
||||
updateRequests chansync.BroadcastCond
|
||||
}
|
||||
|
||||
type ipStr string
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue