]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cooker.py: Improve server idle handling (from Poky)
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Jul 2009 16:53:32 +0000 (17:53 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Jul 2009 16:53:32 +0000 (17:53 +0100)
commita519d723a17e1cc8e87872a7b0243763f0125e6f
tree036297fc3d74a75586b82f1470f8cacdc5089e39
parent72bf7476b2492b6524cb8ff87ee5f4e86b28d975
cooker.py: Improve server idle handling (from Poky)

This patch:
  * Uses the xmlrpc timeout controls added in python 2.6 removing the need to
    hack the class instead. The hacking didn't work for 2.6.
  * Converts the parsing function to parse a file per call to the function
  * Allows checking for xmlrpc commands between parsing files allowing the user
    to interrupt parsing.
  * Starts to teach the command queue about command properties such as whether
    they require the cache.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
lib/bb/command.py
lib/bb/cooker.py
lib/bb/xmlrpcserver.py