Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultProcCronPeriod = time.Duration(5) * time.Second //ProcCron的周期,默认1s
)
View Source
const (
DefaultSendQueueMaxSize = 1024000 //102.4w
)
Variables ¶
View Source
var ( SenderQueue = nlist.NewSafeListLimited(DefaultSendQueueMaxSize) SenderConnPools *backend.SafeRpcConnPools TransferMap = make(map[string]string, 0) TransferHostnames = make([]string, 0) TransferSendCnt = make(map[string]*nproc.SCounterQps, 0) TransferSendFailCnt = make(map[string]*nproc.SCounterQps, 0) )
Functions ¶
func Push2SendQueue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.