web: migrate to lit 2

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-09-21 11:19:26 +02:00
parent cb10c1753b
commit a92a0fb60a
223 changed files with 620 additions and 636 deletions

View File

@ -128,6 +128,7 @@ func (ac *APIController) startWSHealth() {
if err != nil {
ac.logger.WithField("loop", "ws-health").WithError(err).Warning("ws write error, reconnecting")
ac.wsConn.CloseAndReconnect()
time.Sleep(time.Second * 5)
continue
} else {
ConnectionStatus.With(prometheus.Labels{