tunasync/worker/common.go
zyx c00eb12a75 Two new options for rsync provider
- rsync_no_timeout=true/false # disable --timeout option
- rsync_timeout=n # set --timeout=n
related to issue #121
2020-06-03 13:26:49 +08:00

14 lines
192 B
Go

package worker
// put global variables and types here
import (
"gopkg.in/op/go-logging.v1"
)
type empty struct{}
const defaultMaxRetry = 2
var logger = logging.MustGetLogger("tunasync")