mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
简化配置表读取
This commit is contained in:
1 parent
2a3ce25898
commit
5e5492943d
51 files changed
+418
-2560
No files matched your search
@@ -62,7 +62,7 @@ func NewDiscoveryService() *DiscoveryService {
|
||||
r.serverInstanceMap = make(map[string]*sync.Map)
|
||||
r.serverInstanceMap[api.GATE] = new(sync.Map)
|
||||
r.serverInstanceMap[api.GS] = new(sync.Map)
|
||||
r.serverInstanceMap[api.FIGHT] = new(sync.Map)
|
||||
r.serverInstanceMap[api.ANTICHEAT] = new(sync.Map)
|
||||
r.serverInstanceMap[api.PATHFINDING] = new(sync.Map)
|
||||
r.serverAppIdMap = new(sync.Map)
|
||||
go r.removeDeadServer()
|
||||
|
||||
Reference in new issue
Block a user