Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusOK = "PHASE_TYPE_COMPLETE" StatusError = "PHASE_TYPE_ERROR" StatusRunning = "PHASE_TYPE_RUNNING" StatusPending = "PHASE_TYPE_PENDING" )
enum all statuses.
View Source
const ( // CreateFileSyncWaitSeconds is the maximum wait time in seconds when creating a file from link. CreateFileSyncWaitSeconds = 2 // RunningFilesMaxAge is the maximum time for a file from running to complete. // After this time, set the file to error status. RunningFilesMaxAge = 48 * time.Hour // RunningFilesSelectLimit is the maximum number of running files selected from mysql each time. RunningFilesSelectLimit = 10000 // MaxPremiumWorkers is the maximum number of premium workers bound to a master. MaxPremiumWorkers = 10 )
Variables ¶
This section is empty.
Functions ¶
func IsFinalStatus ¶
IsFinalStatus returns whether this status is a final state which can not be updated anymore.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.