bitbake: serv.py: Give pr-server up to 5 seconds to commit data
authorKonrad Scherer <Konrad.Scherer@windriver.com>
Fri, 15 Nov 2013 20:51:47 +0000 (15:51 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Nov 2013 17:19:11 +0000 (17:19 +0000)
commit6f571e38da33fd100fef330b6c7594250ee2a73a
tree319331a668407874f8981a6b5f57ab71fd2534aa
parenta10c899c542429bd1612f8ad2fffa28b9d8a2ddb
bitbake: serv.py: Give pr-server up to 5 seconds to commit data

The default value of 0.5 seconds before sending the pr-server a
SIGTERM is not enough to guarantee that sqlite has committed all
the pr data to the database. By polling the pid to see if it is
still running, this allows the pr-server process to shutdown
cleanly and finish the final pr data commit.

(Bitbake rev: 22eec978e70794923c85689928c6be0cfe71cdcd)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/prserv/serv.py