Skip to content

Commit

Permalink
fix deadlock in load service if task has error
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Mar 2, 2018
1 parent 3b641ba commit a1ef1cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### Bugfixes

- [#1827](https://github.com/influxdata/kapacitor/pull/1827): Fix deadlock in load service when task has an error.


## v1.4.0 [2017-12-08]

Expand Down
3 changes: 3 additions & 0 deletions services/task_store/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func taskTypeFromProgram(n *ast.ProgramNode) client.TaskType {
tts = append(tts, ident)
}
break ChainLoop
default:
// Something went wrong, break out of loop.
break ChainLoop
}
}
}
Expand Down

0 comments on commit a1ef1cb

Please sign in to comment.