镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
- rsync_no_timeout=true/false # disable --timeout option - rsync_timeout=n # set --timeout=n related to issue #121
14 行
192 B
Go
14 行
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")
|