mirror of
https://github.com/fumiama/WireGold.git
synced 2025-09-26 19:21:11 +08:00
chore(head): make pool log interval longer
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,5 +15,5 @@
|
||||
# vendor/
|
||||
|
||||
.DS_Store
|
||||
config.yaml
|
||||
/*.yaml
|
||||
WireGold
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user