parent
1549833bfb
commit
5101648c94
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -154,7 +154,7 @@ func requestPerMinute() {
|
|||
for {
|
||||
time.Sleep(60 * time.Second)
|
||||
current := stats_.RequestCount
|
||||
stats_.RequestPerSecond = current - last
|
||||
stats_.RequestPerMinute = current - last
|
||||
last = current
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue