]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
process: Deal with infinite looping of the server
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Aug 2014 22:31:06 +0000 (22:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Aug 2014 22:39:52 +0000 (23:39 +0100)
commit1f28d8d3311262427938180435b68f0a35c2b330
tree4620a0cf55de456e448ad10e38b1f8c859f9485e
parent000fa81013205dd9bc907ff7a61f06f57637212d
process: Deal with infinite looping of the server

Currently if an exception occurs, we just run the idle handler again and
again, usually looping indefintely. Chances are the exception that occurred
will keep occuring and this is not a good place to be.

This was breaking the autobuilders with gigabytes of logs.

At least improve things so the cooker shuts down gracefully when this happens.
Some trace of the original problem may still be present on the console too!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/server/process.py