Browse Source
[master] master missing start LoopPushingMetric routine fixed. (#6018)
pull/6021/head
zouyixiong
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/command/master.go
|
|
@ -134,8 +134,8 @@ func runMaster(cmd *Command, args []string) bool { |
|
|
|
*m.metricsHttpIp = *m.ip |
|
|
|
} |
|
|
|
go stats_collect.StartMetricsServer(*m.metricsHttpIp, *m.metricsHttpPort) |
|
|
|
go stats_collect.LoopPushingMetric("masterServer", util.JoinHostPort(*m.ip, *m.port), *m.metricsAddress, *m.metricsIntervalSec) |
|
|
|
startMaster(m, masterWhiteList) |
|
|
|
|
|
|
|
return true |
|
|
|
} |
|
|
|
|
|
|
|