-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: retry API requests when receiving error code EAI_AGAIN
Kubernetes clusters can have timeout because of slow DNS lookup, and it makes some requests return the error code EAI_AGAIN. It should ignore this error and retry transmitting a request if it stills having remaining retries.
- Loading branch information
Arthur Granado
committed
Apr 28, 2020
1 parent
e89c778
commit de32f36
Showing
2 changed files
with
12 additions
and
0 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