bitbake-server: ensure server timeout is a float
PATCH 1/1 bitbake-server: ensure server timeout is a float
bitbake-server is spawned and passes the arguments it is given to ProcessServer. However, ProcessServer expects the server timeout to be a float and not a string, so convert before passing.
[ YOCTO #14350 ]
Signed-off-by Ross Burton <[email protected]>
--- bitbake/bin/bitbake-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/bitbake-server +1 -1
@@ -26,7 +26,7 @@ readypipeinfd = int(sys.argv[3]) logfile = sys.argv[4] lockname = sys.argv[5] sockname = sys.argv[6] -timeout = sys.argv[7] +timeout = float(sys.argv[7]) xmlrpcinterface = (sys.argv[8], int(sys.argv[9])) if xmlrpcinterface[0] == "None": xmlrpcinterface = (None, xmlrpcinterface[1])
Signature · 1 line
2.25.1