bitbake: cooker: read file watches on server idle
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Fri, 10 Apr 2015 14:57:06 +0000 (15:57 +0100)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:56 +0000 (10:13 -0300)
commitae50a12be3001a06a8a9b22f26f82c67e14f5b9b
tree17e1afe092c9c38ba85621ea8a926dd969910cc7
parent36b5dabc74e7f6abf6c25d039148cdb53d094947
bitbake: cooker: read file watches on server idle

The inotify facility monitoring changes to the config files
could be overwhelmed by massive changes to the watched files
while server is running.

This patch adds verification the notification watches to the
server idle functions, in addition to the cooker updateCache
command which executes only infrequently, thus preventing
overflowing the notification buffer.

[YOCTO #7316]

(Bitbake rev: 996e663fd5c254292f44eca46f5fdc95af897f98)

(Bitbake rev: b44694b1efc7389536df2f901a8b70321edfeeba)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/bb/cooker.py