Skip to content

Fix torrents stuck in active state at 1 B/s#23827

Open
stalkerok wants to merge 1 commit intoqbittorrent:masterfrom
stalkerok:fix_active_torrents
Open

Fix torrents stuck in active state at 1 B/s#23827
stalkerok wants to merge 1 commit intoqbittorrent:masterfrom
stalkerok:fix_active_torrents

Conversation

@stalkerok
Copy link
Contributor

Temporary solution, until fixed arvidn/libtorrent#8057
Related to #23431

@stalkerok stalkerok requested a review from a team February 11, 2026 18:19
bool TorrentImpl::isActive() const
{
return ((uploadPayloadRate() > 0) || (downloadPayloadRate() > 0));
return ((uploadPayloadRate() > 1) || (downloadPayloadRate() > 1));
Copy link
Member

Choose a reason for hiding this comment

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

Why 1 won't work, or why it need to be > 1 for active state?
It sounds like a dirty workaround...

Copy link
Member

Choose a reason for hiding this comment

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

It sounds like a dirty workaround...

👍

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.

Torrents without network activity stop sending updates

3 participants