1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00

minify logs

This commit is contained in:
2020-04-13 19:44:27 +08:00
parent 03b1929383
commit f29a9bf97a

View File

@@ -391,10 +391,12 @@ func (scheduler *SchedulerFair) Detach(GPU string, job string) {
func (scheduler *SchedulerFair) Enable() bool {
scheduler.enabled = true
log.Info("scheduler is enabled")
return true
}
func (scheduler *SchedulerFair) Disable() bool {
scheduler.enabled = false
log.Info("scheduler is disabled")
return true
}