Skip to content

Commit e98915f

Browse files
committed
Add stream support for CLI relayminer relay cmd
1 parent a17987d commit e98915f

File tree

4 files changed

+493
-155
lines changed

4 files changed

+493
-155
lines changed

pkg/network/http/http_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ func NewDefaultHTTPClientWithDebugMetrics() *HTTPClientWithDebugMetrics {
102102
IdleConnTimeout: 90 * time.Second, // Reduced from 300s - shorter idle to free resources
103103

104104
// Timeout settings optimized for quick failure detection
105-
TLSHandshakeTimeout: 5 * time.Second, // Fast TLS timeout since handshakes typically complete in ~100ms
106-
ResponseHeaderTimeout: 5 * time.Second, // Header timeout to allow for server processing time
105+
TLSHandshakeTimeout: 5 * time.Second, // Fast TLS timeout since handshakes typically complete in ~100ms
106+
// ResponseHeaderTimeout: 5 * time.Second, // Header timeout to allow for server processing time. TODO: This affect custom, long, timeouts. This needs to be modified when larger timeouts are needed.
107107

108108
// Performance optimizations
109109
DisableKeepAlives: false, // Enable connection reuse to reduce connection overhead

0 commit comments

Comments
 (0)