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

Allow global timeout values. #267

Open
pilhuhn opened this issue Apr 22, 2020 · 3 comments
Open

Allow global timeout values. #267

pilhuhn opened this issue Apr 22, 2020 · 3 comments

Comments

@pilhuhn
Copy link

pilhuhn commented Apr 22, 2020

Currently restClient allows to set timeouts like this:

com.mycompany.remoteServices.MyServiceClient/mp-rest/connectTimeout

If an application uses many different remote providers, this needs to be provided for each such service.
It would be good if it would be possible to specify the timeouts on a global level, that is used if no individual value as above is given. Perhaps something like:

mp.restclient/connectTimeout=1000
mp.restclient/readTimeout=2000
@andymc12
Copy link
Contributor

@pilhuhn I think this is a great idea. Would you be willing to submit a PR for this proposal?

@pilhuhn
Copy link
Author

pilhuhn commented May 8, 2020

Yes, will do

@pilhuhn pilhuhn self-assigned this May 8, 2020
@WhiteCat22
Copy link
Contributor

@pilhuhn We are triaging all of the Rest Client issues to plan for the next release. Did you create a PR for this? Can this be closed or is there still outstanding work to be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants