Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Increase DEFAULT_BUFFER_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
bzEq committed Feb 29, 2024
1 parent e36c98d commit 3af62c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
)

const DEFAULT_TIMEOUT = 60 * 60
const DEFAULT_BUFFER_SIZE = 1 << 20
const DEFAULT_UDP_TIMEOUT = 60
const DEFAULT_BUFFER_SIZE = 64 << 10
const DEFAULT_UDP_BUFFER_SIZE = 2 << 10

type Port interface {
Expand Down

0 comments on commit 3af62c6

Please sign in to comment.