poky/bitbake/lib/bb/server
Ross Burton d583c78d87 bitbake: bitbake-server: ensure server timeout is a float
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer.  There's some type confusion here:

bitbake-server is called with a string representation of the timeout,
which may be None.  If the timeout is not set, pass 0 instead of None.

Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.

[ YOCTO #14350 ]

(Bitbake rev: 95cc877f3bf5ef2513d7af0ae424f78ec7c24f7d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 23:11:04 +01:00
..
__init__.py bitbake: bitbake: Drop duplicate license boilerplace text 2019-05-04 10:44:10 +01:00
process.py bitbake: bitbake-server: ensure server timeout is a float 2021-05-04 23:11:04 +01:00
xmlrpcclient.py bitbake: lib: remove unused imports 2020-01-19 13:31:05 +00:00
xmlrpcserver.py bitbake: lib: remove unused imports 2020-01-19 13:31:05 +00:00