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

Add timeout configuration for requests #483

Open
colvardrm2 opened this issue Oct 12, 2021 · 0 comments
Open

Add timeout configuration for requests #483

colvardrm2 opened this issue Oct 12, 2021 · 0 comments
Labels
feature New functionality or improvement

Comments

@colvardrm2
Copy link

Support plan

  • is this issue currently blocking your project? (yes/no): no
  • is this issue affecting a production system? (yes/no): yes

Context

  • node version: 12
  • module version: 12.2.0
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): hapi application
  • any other relevant information:

What problem are you trying to solve?

We saw an issue recently where our authentication requests (specifically the token call) timed out after 2 minutes, which ended up increasing our response times dramatically. It woul be nice to be able to configure a timeout ourselves to allow requests to fail faster, since we don't expect them to take anywhere near that long.

Do you have a new or modified API suggestion to solve the problem?

Add a timeout option to the provider options

@colvardrm2 colvardrm2 added the feature New functionality or improvement label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or improvement
Projects
None yet
Development

No branches or pull requests

1 participant