Skip to content

Commit

Permalink
add bug TODO item
Browse files Browse the repository at this point in the history
  • Loading branch information
hetianyi committed Oct 15, 2018
1 parent 3180514 commit c75ffa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libclient/tracker_maintainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ func (tracker *TrackerInstance) GetTask() *bridge.Task {
}

// 某些任务不能多个tracker instance重复执行,只能选择其中一个予以执行
// TODO bug sometime nil task will add to the list
func AddTask(task *bridge.Task, tracker *TrackerInstance) bool {
if task == nil {
logger.Debug("can't push nil task")
Expand Down

0 comments on commit c75ffa2

Please sign in to comment.