3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-21 19:39:43 +01:00

remove GCStats.Pause initialization (#2189)

It's too small anyway so the runtime has to reallocate it.
This commit is contained in:
Shivaram Lingamneni 2024-09-08 07:48:47 +02:00 committed by GitHub
parent 796bc198ed
commit f68d32b4ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)