Commit aa8e066
Update Http.request in default.rb to include a delay in retries
Update Http.request to include a sleep between retries for cases where Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EADDRINUSE occur. Without this sleep the retries happen immediately and do not give the remote host and/or connection to it, any time to resolve the connection issue. This results in seemingly random connection problems and test failures when using Selenium Webdriver in a grid setup with 1000s of connections running simultaneously.
Signed-off-by: Alex Rodionov <[email protected]>1 parent 90216e9 commit aa8e066
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments