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

Method Start

internal/nodes/task_ocsp_update.go:52–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (this *OCSPUpdateTask) Start() {
53 for range this.ticker.C {
54 err := this.Loop()
55 if err != nil {
56 if rpc.IsConnError(err) {
57 remotelogs.Debug("OCSPUpdateTask", "update ocsp failed: "+err.Error())
58 } else {
59 remotelogs.Warn("OCSPUpdateTask", "update ocsp failed: "+err.Error())
60 }
61 }
62 }
63}
64
65func (this *OCSPUpdateTask) Loop() error {
66 rpcClient, err := rpc.SharedRPC()

Callers

nothing calls this directly

Calls 5

LoopMethod · 0.95
IsConnErrorFunction · 0.92
DebugFunction · 0.92
WarnFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected