This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch tpollard/temp in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3cbddad8f5b8f4de49d1ee3050474d015a111a66 Author: Tom Pollard <[email protected]> AuthorDate: Tue Oct 29 13:06:55 2019 +0000 Fixup sched notification to frontend --- src/buildstream/_scheduler/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildstream/_scheduler/scheduler.py b/src/buildstream/_scheduler/scheduler.py index 7a85f69..6e768a1 100644 --- a/src/buildstream/_scheduler/scheduler.py +++ b/src/buildstream/_scheduler/scheduler.py @@ -457,7 +457,7 @@ class Scheduler: # Make sure fork is allowed before starting jobs if not self.context.prepare_fork(): message = Message(MessageType.BUG, "Fork is not allowed", detail="Background threads are active") - self._notify(Notification(NotificationType.MESSAGE, message=message)) + self._notify_front(Notification(NotificationType.MESSAGE, message=message)) self.terminate_jobs() return
