Skip to content

improved killing bitbake server

Ed Bartosh bitbake-devel 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bitbake: xmplrpc: split connect methodbitbake/lib/bb/main.py bitbake/lib/bb/server/__init__.py bitbake/lib/bb/server/xmlrpc.py+6 -20 replies
2/2bitbake: main: kill server without queue setupbitbake/lib/bb/main.py+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] improved killing bitbake server

Hi,

Setup of event queue includes registering of UI handler. This operation can fail when cooker is busy. However, there is no need in registering UI handler for terminating the server.

This patchset makes server terminating to work without setting up the event queue and registering UI handler. This should make terminating server to work more reliably.

This should also help Toaster backend to restart bitbake server and observer without getting "Could not register UI event handler" errors.

Changes in v2: Fixed AttributeError: BitBakeProcessServerConnection instance has no attribute 'setupEventQueue'

Ed Bartosh (2):
bitbake: xmplrpc: split connect method
bitbake: main: kill server without queue setup

 bitbake/lib/bb/main.py            | 12 +++++++-----
 bitbake/lib/bb/server/__init__.py |  3 +++
 bitbake/lib/bb/server/xmlrpc.py   |  4 ++--
 3 files changed, 12 insertions(+), 7 deletions(-)

--
Regards,
Ed