cmd/torrent announce: Use NumWant -1

tracker.opentrackr.org will actually send no peers back unless you ask for them.
This commit is contained in:
Matt Joiner 2022-03-02 10:51:19 +11:00
parent 30a5d079be
commit a450bbe6b2
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ func announceErr(flags AnnounceCmd) error {
Request: tracker.AnnounceRequest{
InfoHash: flags.InfoHash,
Port: uint16(torrent.NewDefaultClientConfig().ListenPort),
NumWant: -1,
},
}.Do()
if err != nil {