-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(list-tribes): add configurable timeout to list-tribes command (#44)
Description --- Until now the `list-tribes` command was trying to collect all the tribes within fixed 30 seconds. Now with this change it is configurable via cli using `--timeout` where you can set the timeout as seconds. Motivation and Context --- How Has This Been Tested? --- `sha_p2pool list-tribes --timeout 5` - within 5 seconds it is listing currently known tribes. What process can a PR reviewer use to test or verify this change? --- See test. Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 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