generic-poky/bitbake/lib/prserv
Richard Purdie bfab986ccd bitbake: server/xmlrpc/prserv: Add sane timeout to default xmlrpc server
The standard python socket connect has long timouts which make sense for remote
connections but not local things like the PR Service. This adds a timeout
parameter to the common xmlrpc server creation function and sets it to a more
reasonable 5 seconds.

Making the PR server instantly exit is a good way to test the effect of this
on bitbake.

We can remove the bodged timeout in the PRServer terminate function which
has the side effect of affecting global scope.

(Bitbake rev: 8c01cff94787abbb64fbdf0c16cd63f8f97a7e03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26 11:29:46 +01:00
..
__init__.py bitbake: prserv: Drop StandardError usage 2013-05-09 22:28:24 +01:00
db.py bitbake: Automatically start local PR service. 2012-01-11 10:36:20 +00:00
serv.py bitbake: server/xmlrpc/prserv: Add sane timeout to default xmlrpc server 2013-08-26 11:29:46 +01:00