Skip to content

Commit

Permalink
fix: make deadline setter public (#137)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert authored Nov 28, 2022
1 parent c5baaef commit 4a787ed
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 4a787ed

Please sign in to comment.