Commit 05df251
alex-omophub
Add retry logic for server errors in SyncHTTPClient and AsyncHTTPClientImpl
- Implemented retry mechanism for handling server errors (502, 503, 504) in both synchronous and asynchronous HTTP clients.
- Added exponential backoff delay for retries to improve resilience against temporary server issues.1 parent 3d3f3a2 commit 05df251
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
| |||
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
| |||
0 commit comments