(blockId string)
| 82 | ) |
| 83 | |
| 84 | func getBlockResyncMutex(blockId string) *sync.Mutex { |
| 85 | return blockResyncMutexMap.GetOrCreate(blockId, func() *sync.Mutex { |
| 86 | return &sync.Mutex{} |
| 87 | }) |
| 88 | } |
| 89 | |
| 90 | // Registry operations |
| 91 | func getController(blockId string) Controller { |
no test coverage detected