]> code.ossystems Code Review - openembedded-core.git/commit
prservice: remove connection caching
authorScott Murray <scott.murray@konsulko.com>
Thu, 19 Aug 2021 16:51:55 +0000 (12:51 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Aug 2021 07:30:49 +0000 (08:30 +0100)
commit0fc3055027e2a76ac863f1c0e0d52e95748066aa
tree07737691273d84461ab266e84d8045a27f29ca86
parent9b1daa173481f7f560e00e0dc22b4010ff1dc0ec
prservice: remove connection caching

This patch is a follow on of the the PR server rework in bitbake to add
read-only support.  The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes.  This patch removes the PR service
connection caching to avoid one source of this problem.  It is believed
that in practice this should have little impact on overall performance.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass
meta/lib/oe/prservice.py