Skip to content

Commit

Permalink
fix: online notifications do not push to herself.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Dec 8, 2023
1 parent bc84f38 commit 102ab74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/common/startrpc/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 102ab74

Please sign in to comment.