mirror of
https://github.com/fumiama/dnskip.git
synced 2026-06-05 00:32:41 +08:00
chore: print orbyte in debug
This commit is contained in:
2
main.go
2
main.go
@@ -81,7 +81,7 @@ func main() {
|
|||||||
for range t.C {
|
for range t.C {
|
||||||
c++
|
c++
|
||||||
o, i := pbuf.CountItems()
|
o, i := pbuf.CountItems()
|
||||||
logrus.Infoln("Orbyte pbuf outside:", o, "inside:", i)
|
logrus.Debugln("Orbyte pbuf outside:", o, "inside:", i)
|
||||||
if c%8 == 0 {
|
if c%8 == 0 {
|
||||||
runtime.GC()
|
runtime.GC()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user