mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
increase buffer
This commit is contained in:
parent
a1b5de3abe
commit
8efd01f881
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ func (c *Client) dataChannelReceive(num int) (err error) {
|
|||
var n int
|
||||
c.mutex.Lock()
|
||||
n, err = c.CurrentFile.WriteAt(chunk.Bytes, chunk.Location)
|
||||
c.log.Debugf("wrote %d bytes to %d (%d)", n, chunk.Location,num)
|
||||
// c.log.Debugf("wrote %d bytes to %d (%d)", n, chunk.Location,num)
|
||||
c.mutex.Unlock()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue