Commit f02805c
[#35] Make HTTP's maximum open delay configurable
By default, the bridge will retry operations internally until the
maximum delay is hit and then return an error. By default, the
maximum delay is 3600 seconds; this is well beyond the timeouts of
a typical HTTP client.
This makes the delay configurable for HTTP with the following:
```
http.maxdelay <seconds>
```
as in
```
http.maxdelay 10
```
It also tunes down the default delay to 30s.
Note: the response time can still be greater than 30s; this just limits
how long the bridge will process "wait" responses for.1 parent 2006eca commit f02805c
2 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
| 909 | + | |
906 | 910 | | |
907 | 911 | | |
908 | 912 | | |
| |||
1088 | 1092 | | |
1089 | 1093 | | |
1090 | 1094 | | |
| 1095 | + | |
1091 | 1096 | | |
1092 | 1097 | | |
1093 | 1098 | | |
| |||
3012 | 3017 | | |
3013 | 3018 | | |
3014 | 3019 | | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
3015 | 3033 | | |
3016 | 3034 | | |
3017 | 3035 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
430 | 435 | | |
431 | 436 | | |
432 | 437 | | |
| |||
0 commit comments