MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetTotalFailedTimes

Method GetTotalFailedTimes

p2pserver/block_sync.go:199–203  ·  view source on GitHub ↗

GetTotalFailedTimes return the total failed times of request

()

Source from the content-addressed store, hash-verified

197
198//GetTotalFailedTimes return the total failed times of request
199func (this *SyncFlightInfo) GetTotalFailedTimes() int {
200 this.lock.RLock()
201 defer this.lock.RUnlock()
202 return this.totalFailed
203}
204
205//ResetStartTime
206func (this *SyncFlightInfo) ResetStartTime() {

Callers 1

checkTimeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected