mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-21 00:25:06 +03:00
remove debug output
This commit is contained in:
parent
99616b967a
commit
42a6c24a84
1 changed files with 0 additions and 1 deletions
|
@ -609,7 +609,6 @@ func (t *switchTable) cleanBuffer(b *switch_buffer) {
|
|||
const timeout = 25 * time.Millisecond
|
||||
now := time.Now()
|
||||
for len(b.packets) > 0 && (dropAll || len(b.packets) > 32 || (len(b.packets) > 1 && now.Sub(b.packets[0].time) > timeout)) {
|
||||
t.core.log.Println("DEBUG:", len(b.packets), now.Sub(b.packets[0].time))
|
||||
util_putBytes(b.packets[0].bytes)
|
||||
b.packets = b.packets[1:]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue