()
| 6 | ) |
| 7 | |
| 8 | func 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 | } |
no test coverage detected