0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

bps = ~600

This commit is contained in:
Zack Scholl 2019-04-05 13:27:11 -07:00
parent 9b1df99ea1
commit 01f30b3a99

View file

@ -26,7 +26,7 @@ import (
var log = logrus.New() var log = logrus.New()
const BufferSize = 4096 * 12 const BufferSize = 4096 * 10
const Channels = 1 const Channels = 1
func init() { 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()) c.log.Debug("Could not send on data channel", err.Error())
continue continue
} }
time.Sleep(1000 * time.Microsecond) time.Sleep(10000 * time.Microsecond)
} }
location += int64(bytesread) location += int64(bytesread)