Skip to content

Conversation

@jnunemaker
Copy link
Collaborator

No need to poll more than every 10 seconds currently.

Also, this slows down requests to us by only polling every interval seconds regardless of how long the request took.

Before we were trying to ensure it was interval or as fast as the request took. This is an issue if we are struggling to serve requests as it increases throughput when requests are slow instead of slowing them down.

Need to probably back off even more if response time is more than 10 seconds but can look at that later.
@jnunemaker jnunemaker self-assigned this Feb 14, 2024
@jnunemaker jnunemaker merged commit f96ffa6 into main Feb 14, 2024
@jnunemaker jnunemaker deleted the poll-tweaks branch February 14, 2024 16:19
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.

3 participants