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
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