-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a few code spots with potential to deadlock (#2811)
to quickly summarize, our logging library (seelog) has the potential to deadlock if a task update happens at the same time as it is trying to unmarshal the task object into a string. long-term we are working to replace this library, but for now we can remove the potential to trigger this deadlock by removing the lock on Task.String(), and remove an unecessary Debug log statement in the AddStateChangeEvent function. - remove lock from Task.String - AddStateChangeEvent: remove log.Debugf statement
- Loading branch information
Showing
3 changed files
with
4 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters