Conflux-Chain / go-conflux-sdk

Conflux Golang API
https://confluxnetwork.gitbook.io/go-conflux-sdk
GNU Lesser General Public License v3.0
36 stars 25 forks source link

Too many TCP connections on fullnode #75

Closed boqiu closed 3 years ago

boqiu commented 3 years ago

When infura sync data from full node with a few goroutines, there are more than 5000 connections on fullnode.

wangdayong228 commented 3 years ago

go-sdk has solved by setting http request header connection to keep-alived, full-node should set jsonrpc_http_keep_alive=true meanwhile.