scheduler: fix prefer avoid score

This commit is contained in:
Zexi
2019-06-21 13:57:13 +08:00
parent 237d245a0d
commit d17fbaf02c
13 changed files with 116 additions and 347 deletions
+2 -2
View File
@@ -263,8 +263,8 @@ type Task struct {
Time time.Time
SchedInfo *api.SchedInfo
Consuming time.Duration
taskExecutors []*TaskExecutor
manager *SchedulerManager
taskExecutors []*TaskExecutor `json:"-"`
manager *SchedulerManager `json:"-"`
lock sync.Mutex
waitCh chan struct{}