mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 00:53:36 +08:00
[master] master missing start LoopPushingMetric routine fixed. (#6018)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user