lbry.go/cmd/constants.go
Niko Storni c0be626ef2
add selfsync cmd
add tests
add more slack updates
remove unneded test
extract constants to own file
2018-07-12 08:19:05 -04:00

20 lines
496 B
Go

package cmd
const defaultMaxTries = 3
var (
stopOnError bool
maxTries int
takeOverExistingChannel bool
refill int
limit int
)
const (
StatusPending = "pending" // waiting for permission to sync
StatusQueued = "queued" // in sync queue. will be synced soon
StatusSyncing = "syncing" // syncing now
StatusSynced = "synced" // done
)
var SyncStatuses = []string{StatusPending, StatusQueued, StatusSyncing, StatusSynced}