Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ PushBack
Method
PushBack
pkg/proxy/backend.go:74–79 ·
view source on GitHub ↗
(r *Request)
Source
from the content-addressed store, hash-verified
72
}
73
74
func
(bc *BackendConn) PushBack(r *Request) {
75
if
r.Batch != nil {
76
r.Batch.Add(1)
77
}
78
bc.input <- r
79
}
80
81
func
(bc *BackendConn) KeepAlive() bool {
82
if
len(bc.input) != 0 {
Callers
15
KeepAlive
Method · 0.95
Cleanup
Method · 0.45
TestBackend
Function · 0.45
dispatchAddr
Method · 0.45
Forward
Method · 0.45
Forward
Method · 0.45
slotsmgrt
Method · 0.45
slotsmgrtExecWrapper
Method · 0.45
loopReader
Method · 0.45
TestRequestChan1
Function · 0.45
TestRequestChan2
Function · 0.45
TestRequestChan3
Function · 0.45
Calls
1
Add
Method · 0.45
Tested by
6
TestBackend
Function · 0.36
TestRequestChan1
Function · 0.36
TestRequestChan2
Function · 0.36
TestRequestChan3
Function · 0.36
benchmarkRequestChanN
Function · 0.36
newFakeServer
Function · 0.36