Skip to content

Conversation

@iwek7
Copy link
Contributor

@iwek7 iwek7 commented Jun 19, 2023

This proposes adding new convenient constructor for Request.Options that enables us to pass timeout as duration. In my apps timeout is very often passed around as duration, which is imo better than moving it around as magic number without explicit unit attached. This constructor overload simply feels like it should be there from user perspective.

Copy link
Member

@velo velo left a comment

Choose a reason for hiding this comment

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

LGTM, just need to pass build

@iwek7 iwek7 force-pushed the newOptionsConstructorMethod branch from 531385e to 0776122 Compare June 20, 2023 14:10
@iwek7
Copy link
Contributor Author

iwek7 commented Jun 20, 2023

build is fixed now

@velo velo merged commit 0d2590c into OpenFeign:master Jun 22, 2023
velo added a commit that referenced this pull request Oct 7, 2024
velo added a commit that referenced this pull request Oct 8, 2024
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.

2 participants