From 714458fd079343ac9698436d3c7fcc4203b7d41f Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 1 Dec 2005 21:40:48 +0000 Subject: change to event coalescing git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1605 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/Bcfg2debug | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/sbin/Bcfg2debug') diff --git a/src/sbin/Bcfg2debug b/src/sbin/Bcfg2debug index 522baff0a..95508a5b4 100644 --- a/src/sbin/Bcfg2debug +++ b/src/sbin/Bcfg2debug @@ -64,10 +64,7 @@ if __name__ == '__main__': for instance in generator.__provides__[key].keys(): print " ", key, instance elif cmd[0] == 'update': - while core.fam.fm.pending(): - while core.fam.fm.pending(): - core.fam.HandleEvent() - sleep(0.5) + core.fam.Service() else: print "Unknown command %s" % cmd[0] cmd = get_input() -- cgit v1.2.3-1-g7c22