This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peer/cmd/request: Introduce request timeout option
MinBFT never fails in theory as long as we meet the requirement of "<= f faulty nodes", but unfortunately there's no bug-free softwares, so it's better to prepare for such potential issues to avoid infinite wait. This patch suggests to add timeout to the sample application. Note that if timeout value is not specified, sample application waits forever as it does now. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
- Loading branch information
Naoya Horiguchi
committed
Nov 22, 2019
1 parent
588a5eb
commit 2006f59
Showing
2 changed files
with
31 additions
and
2 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