mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
don't load the whole thing into memory
This commit is contained in:
parent
e16407f5cf
commit
c5feb2f503
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func new(s internalSess.Session) *Session {
|
||||||
initialized: false,
|
initialized: false,
|
||||||
dataBuff: make([]byte, senderBuffSize),
|
dataBuff: make([]byte, senderBuffSize),
|
||||||
stopSending: make(chan struct{}, 1),
|
stopSending: make(chan struct{}, 1),
|
||||||
output: make(chan outputMsg, senderBuffSize*10),
|
output: make(chan outputMsg, 100),
|
||||||
doneCheck: false,
|
doneCheck: false,
|
||||||
readingStats: stats.New(),
|
readingStats: stats.New(),
|
||||||
spinner: spin,
|
spinner: spin,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue