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

Request timeout #51

Closed
wants to merge 3 commits into from
Closed

Request timeout #51

wants to merge 3 commits into from

Conversation

diogob
Copy link
Collaborator

@diogob diogob commented May 15, 2024

The idea is to be able to configure a timeout for every call of a service (or fetcher).

This avoids the awkward code necessary to configure a timeout for each request.
It makes sense since the timeout usually is a trait of the target server (the same for several endpoints).

We should still allow the same API to be used on an individual request.

@diogob diogob force-pushed the timeout branch 2 times, most recently from bbf4ad2 to e684752 Compare May 17, 2024 21:31
@diogob diogob changed the title First draft of timeout parameter functionality Request timeout May 17, 2024
@diogob diogob marked this pull request as ready for review May 17, 2024 21:52
@diogob diogob marked this pull request as draft May 17, 2024 21:57
@diogob
Copy link
Collaborator Author

diogob commented May 17, 2024

I am still going to give AbortController one more shot before opening this PR for review.

@diogob
Copy link
Collaborator Author

diogob commented May 21, 2024

closed in favour of #52

@diogob diogob closed this May 21, 2024
@diogob diogob deleted the timeout branch May 21, 2024 20:54
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