mirror of https://github.com/gin-gonic/gin.git
Fixing compile bug
This commit is contained in:
parent
e899d8a99e
commit
302cd99322
|
@ -18,7 +18,7 @@ func statsWorker() {
|
||||||
c := time.Tick(1 * time.Second)
|
c := time.Tick(1 * time.Second)
|
||||||
var lastMallocs uint64 = 0
|
var lastMallocs uint64 = 0
|
||||||
var lastFrees uint64 = 0
|
var lastFrees uint64 = 0
|
||||||
for range c {
|
for _ = range c {
|
||||||
var stats runtime.MemStats
|
var stats runtime.MemStats
|
||||||
runtime.ReadMemStats(&stats)
|
runtime.ReadMemStats(&stats)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue