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

Commit

Permalink
avoid of data fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
vzex committed May 22, 2020
1 parent cde49e2 commit fb8b5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe/pipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
import "github.com/klauspost/reedsolomon"
import "github.com/vzex/zappy"

const WriteBufferSize = 5000 //udp writer will add some data for checksum or encrypt
const WriteBufferSize = 1000 //udp writer will add some data for checksum or encrypt
const ReadBufferSize = WriteBufferSize * 2 //so reader must be larger

const dataLimit = WriteBufferSize
Expand Down

0 comments on commit fb8b5ee

Please sign in to comment.