mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-16 00:26:43 +00:00
update
This commit is contained in:
@@ -285,3 +285,15 @@ func (scheduler *SchedulerPriority) UpdateParallelism(parallelism int) bool {
|
||||
log.Info("parallelism is updated to", parallelism)
|
||||
return true
|
||||
}
|
||||
|
||||
func (scheduler *SchedulerPriority) SetShareRatio(ratio float64) bool {
|
||||
//scheduler.enableShareRatio = ratio
|
||||
log.Info("enableShareRatio is updated to", ratio)
|
||||
return true
|
||||
}
|
||||
|
||||
func (scheduler *SchedulerPriority) SetPreScheduleRatio(ratio float64) bool {
|
||||
//scheduler.enablePreScheduleRatio = ratio
|
||||
log.Info("enablePreScheduleRatio is updated to", ratio)
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user