(frequency int)
| 245 | } |
| 246 | |
| 247 | func AutomaticallyTestChannels(frequency int) { |
| 248 | for { |
| 249 | time.Sleep(time.Duration(frequency) * time.Minute) |
| 250 | logger.SysLog("testing all channels") |
| 251 | _ = testChannels(false, "all") |
| 252 | logger.SysLog("channel test finished") |
| 253 | } |
| 254 | } |
no test coverage detected