Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add RetryInterval option to query actions (#1159)
A query action will retry every 5ms if it fails to get the expected nodes. The family of Wait* functions depend on this behavior. The problem is, when it waits too long, there will be many retries. This new option allows the caller to change the default interval to reduce retries. That said, the poll action is still preferable if the caller needs to wait.
- Loading branch information
Showing
2 changed files
with
83 additions
and
9 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