-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[finagle-core]: Pass through configured deadline params rather than u…
…se default Problem We can set the `TimeoutFilter.PropagateDeadlines` and `TimeoutFilter.PreferDeadlineOverTimeout` to configure behavior on the Client. When the MethodBuilder interface is used, the `perRequestModule` does only look at the `Default` values of these configurations, preventing custom configuration. Solution Pass the `TimeoutFilter.PropagateDeadlines` and `TimeoutFilter.PreferDeadlineOverTimeout` as Params to the `perRequestModule` to instantiate the `TimeoutFilter` with correct configuration. Result The MethodBuilder will pick up configured `TimeoutFilter.PropagateDeadlines` and `TimeoutFilter.PreferDeadlineOverTimeout` parameters. Closes #937 compile Differential Revision: https://phabricator.twitter.biz/D1107765
- Loading branch information
Showing
3 changed files
with
58 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters