MCPcopy Create free account
hub / github.com/ethstorage/es-node / releaseScanPermit

Method releaseScanPermit

ethstorage/scanner/scanner.go:301–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299}
300
301func (s *Scanner) releaseScanPermit() {
302 select {
303 case s.scanPermit <- struct{}{}:
304 default:
305 }
306}
307
308func (s *Scanner) Close() {
309 s.mu.Lock()

Callers 2

doScanMethod · 0.95
launchFixLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected