MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Start

Method Start

internal/utils/agents/queue.go:42–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (this *Queue) Start() {
43 for ip := range this.c {
44 err := this.Process(ip)
45 if err != nil {
46 // 不需要上报错误
47 if Tea.IsTesting() {
48 remotelogs.Debug("SharedParseQueue", err.Error())
49 }
50 continue
51 }
52 }
53}
54
55// Push 将IP加入到处理队列
56func (this *Queue) Push(ip string) {

Callers

nothing calls this directly

Calls 3

ProcessMethod · 0.95
DebugFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected