This is an automated email from the ASF dual-hosted git repository. not-in-ldap pushed a commit to branch tpollard/subrebase in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 076cc2412d0a00f069d635a7de2770a88e114548 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 321ae4b..9896ac7 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
