Skip to content

Session: the subscription is asked for again when no server answers - #2

Merged
limeflash merged 4 commits into
mainfrom
resubscribe-on-no-answer
Dec 1, 2026
Merged

limeflash merged 4 commits into
mainfrom
resubscribe-on-no-answer

Conversation

@limeflash

Copy link
Copy Markdown
Contributor

When an attempt ends with no_server_answers, the service asks the panel for the subscription again instead of waiting for the planned refresh: at most once in 10 minutes per subscription, a window shared with the refresh after auth_rejected.

The status carries resync (running, then changed / same / failed) and resync_unix. changed means other paths, not another ETag; a reconnecting session then makes its next attempt at once.

Known limit: a first connect that ended in error does not retry by itself after changed.

Tests: unit tests for the trigger, the shared window, the three results and the retry. Not verified live.

🤖 Generated with Claude Code

limeflash and others added 4 commits December 1, 2026 03:34
…and the status says how that ended

The refresh shares its 10-minute window per subscription with the one after auth_rejected. The status carries
resync (running, changed, same, failed) and resync_unix; changed makes a reconnecting session try again at once.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…hat did not come up

The masters of Home and the tray in five languages, imported as they are.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…t ended

resync from the status: running, changed and same have the design's states;
failed keeps the ordinary one. A chosen allowlist channel that ended in an
error has its own state, and the hint's switch is the whitelist_auto setting.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@limeflash
limeflash merged commit b3abdbf into main Dec 1, 2026
2 checks passed
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