Documentation ¶
Index ¶
Constants ¶
View Source
const ( IgnoreTaskAfterRunningTimeSecond = 20 LastFinishedTaskTimeRangeSecond = 60 * 15 MaxJobsSampleLimitMaxTimes = 5 ListKeyTaskID = "task_id" ListKeyProjectID = "project_id" ListKeyObserved = "observed" ListKeyReleased = "released" ListKeyStatus = "status" ListKeyMaxJobs = "max_jobs" ListKeyCPUTotal = "cpu_total" ListKeyCreateTime = "create_time" ListKeyRequestCPU = "request_cpu" ListKeySuggestCPU = "suggest_cpu" ListKeyAcTime = "accepted_time" )
View Source
const (
DistCCControllerElectionPath = "controller"
)
Variables ¶
View Source
var ( InspectRunningTaskTimeGap = 500 * time.Millisecond InspectDistCCStatTimeGap = 5 * time.Second CheckProjectTimeGap = 5 * time.Minute LastSuggestionAcceptedTimeGap = 7 * 24 * time.Hour )
Functions ¶
This section is empty.
Types ¶
type DistCCControllerInfo ¶
type DistCCControllerInfo struct {
types.ServerInfo
}
DistCCControllerInfo describe the server info of controller
func (*DistCCControllerInfo) GetURI ¶
func (di *DistCCControllerInfo) GetURI() string
GetURI return the server url
type RoleChangeEvent ¶
type RoleChangeEvent <-chan RoleType
Provides the master-change event notifications.
Click to show internal directories.
Click to hide internal directories.