From eb83834343bc8d5587a50ca8af6eb6130c21f3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 4 Jul 2025 17:37:07 +0900 Subject: [PATCH] chore(head): make pool log interval longer --- .gitignore | 2 +- gold/head/pool.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4879299..6e9e36e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,5 @@ # vendor/ .DS_Store -config.yaml +/*.yaml WireGold diff --git a/gold/head/pool.go b/gold/head/pool.go index c7909cd..659f709 100644 --- a/gold/head/pool.go +++ b/gold/head/pool.go @@ -27,7 +27,7 @@ func selectPacket(buf ...byte) *PacketItem { } func status() { - for range time.NewTicker(time.Second).C { + for range time.NewTicker(time.Minute).C { out, in := packetPool.CountItems() logrus.Infoln(file.Header(), "packet outside:", out, "inside:", in) out, in = pbuf.CountItems()