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

Method ResetStartTime

p2pserver/block_sync.go:206–210  ·  view source on GitHub ↗

ResetStartTime

()

Source from the content-addressed store, hash-verified

204
205//ResetStartTime
206func (this *SyncFlightInfo) ResetStartTime() {
207 this.lock.Lock()
208 defer this.lock.Unlock()
209 this.startTime = time.Now()
210}
211
212//GetStartTime return the start time of request
213func (this *SyncFlightInfo) GetStartTime() time.Time {

Callers 1

checkTimeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected