This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch tpollard/buildsubprocess in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 39e5effc1962625a4d8eb7fc0d4503502546e18a 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 e4a7d96..931e976 100644 --- a/src/buildstream/_scheduler/scheduler.py +++ b/src/buildstream/_scheduler/scheduler.py @@ -464,7 +464,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
