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

increase buffer

This commit is contained in:
Zack Scholl 2019-04-04 15:24:25 -07:00
parent f0815c9806
commit 56f9d576ff
2 changed files with 3 additions and 3 deletions

View file

@ -34,8 +34,8 @@ func main() {
err = c.Send(croc.TransferOptions{
// PathToFile: "../wskeystore/README.md",
// PathToFile: "./src/croc/croc.go",
PathToFiles: []string{"C:\\Users\\zacks\\go\\src\\github.com\\schollz\\croc\\src\\croc\\croc.go", "croc.exe"},
// PathToFiles: []string{"croc.exe"},
// PathToFiles: []string{"C:\\Users\\zacks\\go\\src\\github.com\\schollz\\croc\\src\\croc\\croc.go", "croc.exe"},
PathToFiles: []string{"croc.exe"},
KeepPathInRemote: false,
})
} else {

View file

@ -26,7 +26,7 @@ import (
var log = logrus.New()
const BufferSize = 4096 * 4
const BufferSize = 4096 * 2
func init() {
log.SetFormatter(&logrus.TextFormatter{ForceColors: true})