Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ regionID
Method
regionID
enterprise/replicasync/replicasync.go:436–440 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
434
}
435
436
func
(m *Manager) regionID() int32 {
437
m.mutex.Lock()
438
defer
m.mutex.Unlock()
439
return
m.self.RegionID
440
}
441
442
// SetCallback sets a function to execute whenever new peers
443
// are refreshed or updated.
Callers
1
Regional
Method · 0.95
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected