Commit 14e41c9b authored by jingbo.wang's avatar jingbo.wang

qps

parent 6f53cf31
......@@ -186,7 +186,7 @@ func (sm *ServiceMap) GetMaxQps() int {
for start.Unix() < end.Unix() {
if start.Unix()+lang < end.Unix() {
maxList = append(maxList, sm.getMaxQps(start, end))
start.Add(time.Second * lang)
start = start.Add(time.Second * lang)
} else {
maxList = append(maxList, sm.getMaxQps(start, sm.endTime))
break
......
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