Commit 5bade92
committed
fix: retry mechanism broken
We should retry in case of Request Timeout (408) or Service Unavailable (503).
The retry mechanism broke as result of commit c2fd342 (exit with an error if server unexpectedly closes the connection). This commit fixes the broken retry mechanism.1 parent 8fa2d7b commit 5bade92
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments