MCPcopy Create free account
hub / github.com/dearcode/candy / addRetry

Method addRetry

store/msg.go:117–122  ·  view source on GitHub ↗
(id int64)

Source from the content-addressed store, hash-verified

115}
116
117func (m *messageDB) addRetry(id int64) {
118 log.Debugf("id:%v", id)
119 m.Lock()
120 m.retry[id] = time.Now().Add(pushTimeout)
121 m.Unlock()
122}
123
124func (m *messageDB) delRetry(id int64) {
125 log.Debugf("id:%v", id)

Callers 3

startMethod · 0.95
repushMethod · 0.95
addQueueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected