MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / syncScheduler

Method syncScheduler

sdk/cliproxy/auth/conductor.go:330–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328}
329
330func (m *Manager) syncScheduler() {
331 if m == nil || m.scheduler == nil {
332 return
333 }
334 m.syncSchedulerFromSnapshot(m.snapshotAuths())
335}
336
337func (m *Manager) snapshotAuths() []*Auth {
338 m.mu.RLock()

Callers 6

benchmarkManagerSetupFunction · 0.95
SetSelectorMethod · 0.95
LoadMethod · 0.95
pickNextMethod · 0.95
pickNextMixedMethod · 0.95

Calls 2

snapshotAuthsMethod · 0.95

Tested by 1

benchmarkManagerSetupFunction · 0.76