mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 11:29:31 +01:00
remove GCStats.Pause initialization (#2189)
It's too small anyway so the runtime has to reallocate it.
This commit is contained in:
parent
796bc198ed
commit
f68d32b4ee
@ -855,7 +855,6 @@ func debugHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respon
|
||||
switch param {
|
||||
case "GCSTATS":
|
||||
stats := debug.GCStats{
|
||||
Pause: make([]time.Duration, 10),
|
||||
PauseQuantiles: make([]time.Duration, 5),
|
||||
}
|
||||
debug.ReadGCStats(&stats)
|
||||
|
Loading…
Reference in New Issue
Block a user