Skip to content

fix(clients): correct Debrid-Link file listing and rate-limit handling - #1425

Merged
calibrain merged 1 commit into
mainfrom
debrid-fix
Oct 3, 2026
Merged

calibrain merged 1 commit into
mainfrom
debrid-fix

Conversation

@calibrain

Copy link
Copy Markdown
Owner

Follow-up to #1380.

  • Fetch the file list with ?ids=, the documented parameter. There is no
    ?id=, so a many-file torrent was not expanded and the call could fail
    with badArguments at the last step of every download.
  • Back off status checks for 60s after floodDetected, doubling to a 240s
    cap, instead of an hour. The orchestrator cancels a download after five
    minutes without a change, so the hour-long pause cancelled every active
    download. Only a flood on the status check starts it, and a successful
    check resets it.
  • Drop the client-side one-hour stall timer. The orchestrator stall timer
    always fires first.
  • Keep progress at 50% when file retrieval starts instead of dropping to
    0% until the first file arrives.
  • Report queued, paused and verifying torrents as QUEUED, PAUSED and
    CHECKING, so a queued torrent gets the handler queue grace.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Follow-up to #1380.

- Fetch the file list with ?ids=, the documented parameter. There is no
  ?id=, so a many-file torrent was not expanded and the call could fail
  with badArguments at the last step of every download.
- Back off status checks for 60s after floodDetected, doubling to a 240s
  cap, instead of an hour. The orchestrator cancels a download after five
  minutes without a change, so the hour-long pause cancelled every active
  download. Only a flood on the status check starts it, and a successful
  check resets it.
- Drop the client-side one-hour stall timer. The orchestrator stall timer
  always fires first.
- Keep progress at 50% when file retrieval starts instead of dropping to
  0% until the first file arrives.
- Report queued, paused and verifying torrents as QUEUED, PAUSED and
  CHECKING, so a queued torrent gets the handler queue grace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@calibrain
calibrain merged commit 9321096 into main Oct 3, 2026
11 of 12 checks passed
@calibrain
calibrain deleted the debrid-fix branch October 3, 2026 12:08
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.

1 participant