MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / AutomaticallyUpdateChannels

Function AutomaticallyUpdateChannels

controller/channel-billing.go:485–492  ·  view source on GitHub ↗
(frequency int)

Source from the content-addressed store, hash-verified

483}
484
485func AutomaticallyUpdateChannels(frequency int) {
486 for {
487 time.Sleep(time.Duration(frequency) * time.Minute)
488 common.SysLog("updating all channels")
489 _ = updateAllChannelsBalance()
490 common.SysLog("channels update done")
491 }
492}

Callers 1

mainFunction · 0.92

Calls 2

SysLogFunction · 0.92
updateAllChannelsBalanceFunction · 0.70

Tested by

no test coverage detected