Files
one-api/common
Laisky.Cai 577ec90736 fix: Initialize transport object, set timeouts, and add IdleTimeout config
- Introduced idle connection timeout for HTTP client transport
- Implemented custom timeout for HTTP client when `RelayTimeout` is 0
- Set ImpatientHTTPClient timeout to 5 seconds
- Added new config variable `IdleTimeout` with default value of 30 seconds
- Utilized shared transport object for all HTTP clients in relay/util package
2024-03-08 12:58:05 +00:00
..
2023-04-22 20:39:27 +08:00
2024-01-28 19:38:58 +08:00
2024-01-28 19:38:58 +08:00
2023-04-22 20:39:27 +08:00
2024-01-28 19:38:58 +08:00
2024-01-28 19:38:58 +08:00
2023-04-22 20:39:27 +08:00
2023-04-22 20:39:27 +08:00