Skip to content

Req Adapter: Task max timeout fixed at 5 sec #236

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

Open
tuomohopia opened this issue Sep 25, 2024 · 1 comment · May be fixed by #238 or #239
Open

Req Adapter: Task max timeout fixed at 5 sec #236

tuomohopia opened this issue Sep 25, 2024 · 1 comment · May be fixed by #238 or #239

Comments

@tuomohopia
Copy link

Req adapter timeout fixed

at 5 seconds

When using Req adapter, requests seem to be capped at 5 seconds in terms of timeouts. Because that's the default that gets passed to Task.await/2 here:

.

The default comes from https://hexdocs.pm/elixir/1.17.3/Task.html#await/2.

@stocks29
Copy link
Contributor

stocks29 commented Mar 29, 2025

It would be great to get this fixed by merging the PR from @mwhitworth

I put up another PR which I believe is a simpler fix: #239

@stocks29 stocks29 linked a pull request Mar 29, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants