Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add backoff to workspace agent polling#20157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rafrdz wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromrafrdz/polling-backoff

Conversation

rafrdz
Copy link

@rafrdzrafrdz commentedOct 2, 2025
edited
Loading

Summary

In this pull request we're adding a simple backoff to the workspace agent polling. This backoff is being added to address seemingly random cases of elevated number of calls that we've seen to theapi/v2/workspaceagent/{agent_id} endpoint.

For more information on the investigation, see:coder/internal#725

Changes

  • Updated the polling to use predefined progressive intervals for polling instead of continuously polling every 500ms

Testing

  • Added a test for the function used to calculate the progressive polling interval

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

@spikecurtisspikecurtisAwaiting requested review from spikecurtis

At least 1 approving review is required to merge this pull request.

Assignees

@rafrdzrafrdz

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@rafrdz

[8]ページ先頭

©2009-2025 Movatter.jp