chore(head): make pool log interval longer

This commit is contained in:
源文雨
2025-07-04 17:37:07 +09:00
parent ee3f4c6fb3
commit eb83834343
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -15,5 +15,5 @@
# vendor/ # vendor/
.DS_Store .DS_Store
config.yaml /*.yaml
WireGold WireGold

View File

@@ -27,7 +27,7 @@ func selectPacket(buf ...byte) *PacketItem {
} }
func status() { func status() {
for range time.NewTicker(time.Second).C { for range time.NewTicker(time.Minute).C {
out, in := packetPool.CountItems() out, in := packetPool.CountItems()
logrus.Infoln(file.Header(), "packet outside:", out, "inside:", in) logrus.Infoln(file.Header(), "packet outside:", out, "inside:", in)
out, in = pbuf.CountItems() out, in = pbuf.CountItems()