From 102ab74e9c0379c42331eb1ecc79bf0b4679de6f Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Fri, 8 Dec 2023 20:57:33 +0800 Subject: [PATCH] fix: online notifications do not push to herself. --- pkg/common/startrpc/start.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/common/startrpc/start.go b/pkg/common/startrpc/start.go index f33fc7108e..9ca5c07bba 100644 --- a/pkg/common/startrpc/start.go +++ b/pkg/common/startrpc/start.go @@ -94,6 +94,9 @@ func Start( if err != nil { return utils.Wrap1(err) } + go func() { + log.Println(http.ListenAndServe("0.0.0.0:6061", nil)) + }() go func() { if config.Config.Prometheus.Enable && prometheusPort != 0 { metric.InitializeMetrics(srv)