1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-16 00:26:43 +00:00
This commit is contained in:
2020-05-25 11:35:44 +08:00
parent b63f1ba609
commit ad551109fe
10 changed files with 232 additions and 419 deletions

View File

@@ -11,7 +11,7 @@ import (
var collectorInstance *Collector
var collectorInstanceLock sync.Mutex
func InstanceOfColector() *Collector {
func InstanceOfCollector() *Collector {
defer collectorInstanceLock.Unlock()
collectorInstanceLock.Lock()