-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error handling to maker_protocol.rs
Previously if there was any kind of error the maker would just panic and close. Now all errors are checked and handled. A protocol or network error results in that client's connection being closed. A disk error has the maker shutting down. A RPC error has the server not accepting any more client connections until the RPC connection is reestablished.
- Loading branch information
1 parent
3eb9ae9
commit c0e374f
Showing
5 changed files
with
149 additions
and
135 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
Oops, something went wrong.