Skip to content

Conversation

@HamletDuFromage
Copy link

When adding a torrent to a client with a lot of torrents, its announce (as far as I understand) is pushed to the end of a queue that could take a while to be processed.

As a workaround if I need to leech immediately, I'd just restart my client and the newer torrents would be added at the top of the queue, but it's rather inelegant.

I'd like a flag for force re-announce to bypass that queue for the torrent to start faster. This PR compiles, but I'm not familiar with the codebase whatsoever so this might not be the appropriate approach. For instance, I'm not sure about how this may or may not be related to https://www.libtorrent.org/reference-Torrent_Handle.html#queue_position_top()

This is more of a feature request than a PR

Copy link
Owner

@arvidn arvidn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this idea. But rather than passing around a bool priorty, I think it would make sense to make this a tracker_request_flag_t and make it part of the tracker_request

@arvidn
Copy link
Owner

arvidn commented Sep 7, 2025

it should probably also be incorporated with "connection boost", so newly added torrents take priority over existing ones, for the first announce

@HamletDuFromage
Copy link
Author

I don't think I understand what connection boost is or does tbh

@arvidn
Copy link
Owner

arvidn commented Nov 9, 2025

I made a slightly tweaked version of this idea, here: #8054

@HamletDuFromage
Copy link
Author

neato!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants