Revert "fix(api): market/combined_streams: Get Proxy form Environment (#879)" (#985)

This reverts commit 183e9273b8.
This commit is contained in:
Lawrence Liu
2025-11-13 23:17:26 +08:00
committed by tangmengqiu
parent e0af0d96e0
commit 34cb7b1bbd
3 changed files with 0 additions and 38 deletions

View File

@@ -7,7 +7,6 @@ import (
"strings"
"sync"
"time"
"net/http"
"github.com/gorilla/websocket"
)
@@ -33,7 +32,6 @@ func NewCombinedStreamsClient(batchSize int) *CombinedStreamsClient {
func (c *CombinedStreamsClient) Connect() error {
dialer := websocket.Dialer{
HandshakeTimeout: 10 * time.Second,
Proxy : http.ProxyFromEnvironment,
}
// 组合流使用不同的端点