From 01f30b3a99a52cb69b4d8174fdc50686609b12ac Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Fri, 5 Apr 2019 13:27:11 -0700 Subject: [PATCH] bps = ~600 --- src/croc/croc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/croc/croc.go b/src/croc/croc.go index 5eae6846..369cf40b 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -26,7 +26,7 @@ import ( var log = logrus.New() -const BufferSize = 4096 * 12 +const BufferSize = 4096 * 10 const Channels = 1 func init() { @@ -735,7 +735,7 @@ func (c *Client) dataChannelSend(num int) (err error) { c.log.Debug("Could not send on data channel", err.Error()) continue } - time.Sleep(1000 * time.Microsecond) + time.Sleep(10000 * time.Microsecond) } location += int64(bytesread)