Commit 599bbdfe authored by vicotor's avatar vicotor

update priority

parent 279093bb
......@@ -69,12 +69,12 @@ func initConfig() {
}
func runNode() {
go metrics.StartMetrics()
node := server.NewNode()
err := node.Start()
if err != nil {
log.WithError(err).Fatal("node start failed")
}
metrics.StartMetrics()
wg := sync.WaitGroup{}
wg.Add(1)
......
......@@ -17,7 +17,7 @@ import (
)
var (
maxPriority = 1 // total priority for worker queue
maxPriority = 2 // total priority for worker queue
)
var (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment