Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerReaper ¶
type PeerReaper struct{}
func (*PeerReaper) ReapTorrent ¶
func (pr *PeerReaper) ReapTorrent(target *torrent.Torrent)
Loops over a torrent's peers looking for peers which have not announced since 2 * TRACKER_ANNOUNCE_INTERVAL.
The underlying task is called asynchronously and will block access to the underlying list of peers while it runs. TODO: Task timeout.
Click to show internal directories.
Click to hide internal directories.