MCPcopy Create free account
hub / github.com/LumaAI-API/Luma-API / StartAllKeepAlive

Function StartAllKeepAlive

keep-alive.go:8–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func StartAllKeepAlive() {
9 for {
10 time.Sleep(10 * time.Second)
11 if GetLumaAuth() == "" {
12 continue
13 }
14 _, err := getMe()
15 if err != nil {
16 common.Logger.Errorf("Luma Keep-alive 失败, err: %s", err.Error())
17 }
18 }
19}

Callers 1

mainFunction · 0.85

Calls 2

GetLumaAuthFunction · 0.85
getMeFunction · 0.85

Tested by

no test coverage detected