Change bufferSize back to 32
Shim use non-blocking send now, there is no need to set bufferSize to 2048, it's a waste. Signed-off-by: Shukui Yang <keloyangsk@gmail.com>
This commit is contained in:
parent
08061c7c3c
commit
21174cb497
@ -31,7 +31,7 @@ import (
|
|||||||
// ErrNoSuchProcess is returned when the process no longer exists
|
// ErrNoSuchProcess is returned when the process no longer exists
|
||||||
var ErrNoSuchProcess = errors.New("no such process")
|
var ErrNoSuchProcess = errors.New("no such process")
|
||||||
|
|
||||||
const bufferSize = 2048
|
const bufferSize = 32
|
||||||
|
|
||||||
type subscriber struct {
|
type subscriber struct {
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
|
Loading…
Reference in New Issue
Block a user