Modernize invertergui: MQTT write support, HA integration, UI updates
Some checks failed
build / inverter_gui_pipeline (push) Has been cancelled
Some checks failed
build / inverter_gui_pipeline (push) Has been cancelled
This commit is contained in:
2
vendor/github.com/eclipse/paho.mqtt.golang/ping.go
generated
vendored
2
vendor/github.com/eclipse/paho.mqtt.golang/ping.go
generated
vendored
@@ -38,7 +38,7 @@ func keepalive(c *client, conn io.Writer) {
|
||||
if c.options.KeepAlive > 10 {
|
||||
checkInterval = 5 * time.Second
|
||||
} else {
|
||||
checkInterval = time.Duration(c.options.KeepAlive) * time.Second / 2
|
||||
checkInterval = time.Duration(c.options.KeepAlive) * time.Second / 4
|
||||
}
|
||||
|
||||
intervalTicker := time.NewTicker(checkInterval)
|
||||
|
||||
Reference in New Issue
Block a user