Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: server busy error even when the server is responding #4403

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

Cristhianzl
Copy link
Collaborator

This pull request includes updates to the ApiInterceptor function in the src/frontend/src/controllers/API/api.tsx file to improve the handling of health check timeouts.

Key changes include:

  • Imported useUtilityStore from @/stores/utilityStore to access utility functions.
  • Added setHealthCheckTimeout function call to reset the health check timeout when a response is received. [1] [2]

@Cristhianzl Cristhianzl self-assigned this Nov 5, 2024
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Nov 5, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Nov 5, 2024
Copy link
Collaborator

@lucaseduoli lucaseduoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 5, 2024
…API interceptor

📝 (api.tsx): update comments in the code for better readability and understanding
@Cristhianzl Cristhianzl enabled auto-merge (squash) November 5, 2024 17:16
@Cristhianzl Cristhianzl merged commit d9445eb into main Nov 5, 2024
20 of 21 checks passed
@Cristhianzl Cristhianzl deleted the cz/fix-server-busy branch November 5, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants