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

fix: make deadline setter public #137

Merged
merged 1 commit into from
Nov 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: make deadline setter public
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Nov 28, 2022
commit 54c8e923eaccbccde71001dc2fc6ad53e3f5d546
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ public ProviderEvaluation<Value> getObjectEvaluation(String key, Value defaultVa
/**
* Sets how long to wait for an evaluation.
*
* @param deadlineMs time to wait before gRPC call is cancelled. Defaults to 10ms.
* @param deadlineMs time to wait before gRPC call is cancelled. Defaults to 500ms.
* @return FlagdProvider
*/
FlagdProvider setDeadline(long deadlineMs) {
public FlagdProvider setDeadline(long deadlineMs) {
this.deadline = deadlineMs;
return this;
}
Expand Down