MCPcopy Create free account
hub / github.com/daodst/chat / SuccessCount

Method SuccessCount

federationapi/statistics/statistics.go:178–180  ·  view source on GitHub ↗

SuccessCount returns the number of successful requests. This is usually useful in constructing transaction IDs.

()

Source from the content-addressed store, hash-verified

176// SuccessCount returns the number of successful requests. This is
177// usually useful in constructing transaction IDs.
178func (s *ServerStatistics) SuccessCount() uint32 {
179 return s.successCounter.Load()
180}

Callers 2

TestBackoffFunction · 0.95
nextTransactionMethod · 0.45

Calls 1

LoadMethod · 0.80

Tested by 1

TestBackoffFunction · 0.76