1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00

minify logs

This commit is contained in:
2020-04-13 19:45:06 +08:00
parent f29a9bf97a
commit 62dcf7082b

View File

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