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 {
|
for {
|
||||||
time.Sleep(60 * time.Second)
|
time.Sleep(60 * time.Second)
|
||||||
current := stats_.RequestCount
|
current := stats_.RequestCount
|
||||||
stats_.RequestPerSecond = current - last
|
stats_.RequestPerMinute = current - last
|
||||||
last = current
|
last = current
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue