[Deluge 2.x] Deluge-console command update_tracker does not appear to do anything

General support for problems installing or using Deluge
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Deluge 2.x] Deluge-console command update_tracker does not appear to do anything

Post by mhertz »

Thanks for reply :)

I think you're right, and retested it again, with a quick plugin I threw together continually reannouncing added torrent every 5 secs - a public tracker for debian's minimal netinstall iso, which I checked has a 30 sec min_interval defined(optional in spec I see). Thanks again bro as said before, as I didn't know how retrieve libtorrent handle little while ago, for e.g. announces, so checked your code not that long ago when needed last, quicker than checking deluge's I thought, and was surpriced how simple was lol.

Adding a 1, or 'flags=1' shows in debug-log announces sent every 5 secs exactly, and getting peers-list back, using no value or e.g 0 doesn't announce every 5 secs, as obey the min_interval.

Since there's only one parameter, 'flags', then apparently(based on test here) only the value is checked and not the name, which makes sense, but as you say something which could change obviously.

Anyway, thanks again bro for posting - and I just repost your quote here, so thread doesn't end with my blabbings.
basher wrote: Sat Apr 01, 2023 5:00 pm As of deluge 2 (that uses libtorrent RC_1_2+), the proper way to set the reannounce_flags_t is

Code: Select all

t.handle.force_reannounce(announce_seconds, announce_trkr_idx, lt.reannounce_flags_t.ignore_min_interval)
eg like here, ie the flag should be imported from libtorrent library. This was confirmed by libtorrent maintainer.
Post Reply