Skip to content

Retry soon while the poll endpoint is not known yet - #44

Merged
thomasdarimont merged 1 commit into
mainfrom
gh-42-poll-endpoint-retry
Oct 6, 2026
Merged

thomasdarimont merged 1 commit into
mainfrom
gh-42-poll-endpoint-retry

Conversation

@thomasdarimont

@thomasdarimont thomasdarimont commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

A poller that starts while the stream is still being registered found
no endpoint and slept the full interval before looking again, so the
first poll came up to an interval after startup. Not knowing the
endpoint is a condition of the startup, not a request to slow down:
the poller now looks again after a second, capped by the interval.

Closes #42

A poller that starts while the stream is still being registered found
no endpoint and slept the full interval before looking again, so the
first poll came up to an interval after startup. Not knowing the
endpoint is a condition of the startup, not a request to slow down:
the poller now looks again after a second, capped by the interval.

Closes #42

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
@thomasdarimont
thomasdarimont merged commit 6d53bf8 into main Oct 6, 2026
10 checks passed
@thomasdarimont
thomasdarimont deleted the gh-42-poll-endpoint-retry branch October 6, 2026 07:55
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.

Poller waits a full interval when the stream's poll endpoint is not known yet

1 participant