Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
301
func
(s *Scanner) releaseScanPermit() {
302
select
{
303
case
s.scanPermit <-
struct
{}{}:
304
default:
305
}
306
}
307
308
func
(s *Scanner) Close() {
309
s.mu.Lock()
Callers
2
doScan
Method · 0.95
launchFixLoop
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected