Re: [libtorrent] force_reannounce() doesn't seem to do anything
Brought to you by:
arvidn
|
From: Arvid N. <arv...@gm...> - 2017-09-16 21:05:58
|
On Thu, Sep 14, 2017 at 4:22 AM, Murray S. Kucherawy <sup...@gm...> wrote: > Greetings, > > While talking to about 14 trackers that have min_announce set to 30 > seconds, my clients calling force_reannounce() don't seem to actually do > any new tracker announces. Is there more I have to do to make the > reannounces happen every time? > There are a few obvious things that can make libtorrent ignore the call to force a tracker announce: 1. If the torrent is paused it will silently ignore it 2. If the tracker index is not -1 but still out of bounds in the tracker list. 3. if the time you specify in the call is invalid and refers to a time far into the future To get a hint about what's going on, I would recommend querying the tracker list periodically to see their status. The announce_entry includes the time the next announce is scheduled for. Immediately after a force_announce (with a time stamp of now or in the past) should be set to 1 second from now. -- Arvid Norberg |