-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gRPC options to set timeout and skip dial errors (#193)
* Don't bubble up grpc client error, just keep it nil and derive it again on checking. Add option to check if we should faild on gRCP dial error or not. Add timeout option. * Instead of attempting on each check, remove with block when fail on dial error is not set to true so gRPC takes care of the connection itself. Add tests to check that auth fails with dial errors, but works once the service is back up. * Fix docker files missing libwebsockets8 by building from source, fix docker test run by starting maridb service instead of mysql one. Co-authored-by: Ignacio Gómez <ignacio_gomez@apple.com>
- Loading branch information
Showing
7 changed files
with
225 additions
and
92 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.