Commit fe3967a
Pass timeouts to Net::HTTP.start so open_timeout applies to the connect phase
Setting open_timeout inside the start block is too late: the connection
is already open by the time the block runs, so the 10s connect timeout
never took effect (read_timeout was fine).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ae2dca4 commit fe3967a
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 49 | + | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
0 commit comments