summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-12-01 21:40:48 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-12-01 21:40:48 +0000
commit714458fd079343ac9698436d3c7fcc4203b7d41f (patch)
tree0a6a9b8d69851f6a2276620ca5be74c2a3db36a0 /src/sbin
parentf2d1d3c9136bf5b2bee71fa2678281c989bec620 (diff)
downloadbcfg2-714458fd079343ac9698436d3c7fcc4203b7d41f.tar.gz
bcfg2-714458fd079343ac9698436d3c7fcc4203b7d41f.tar.bz2
bcfg2-714458fd079343ac9698436d3c7fcc4203b7d41f.zip
change to event coalescing
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1605 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rw-r--r--src/sbin/Bcfg2debug5
1 files changed, 1 insertions, 4 deletions
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()