summaryrefslogtreecommitdiffstats
path: root/bin/nova-compute
diff options
context:
space:
mode:
authorTodd Willey <todd@rubidine.com>2010-06-25 18:55:14 -0400
committerTodd Willey <todd@rubidine.com>2010-06-25 18:55:14 -0400
commit849282175c38ec419fc037b1698cb4de4efdb833 (patch)
tree0deab000fe0a95e05df55d3392a5169aa35cbe3b /bin/nova-compute
parent8a2f1763cbadd47f6ce26467ac9f82bc9b436d2a (diff)
downloadnova-849282175c38ec419fc037b1698cb4de4efdb833.tar.gz
nova-849282175c38ec419fc037b1698cb4de4efdb833.tar.xz
nova-849282175c38ec419fc037b1698cb4de4efdb833.zip
Admin API + Worker Tracking.
Diffstat (limited to 'bin/nova-compute')
-rwxr-xr-xbin/nova-compute4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-compute b/bin/nova-compute
index cc738e87f..ed829ecc8 100755
--- a/bin/nova-compute
+++ b/bin/nova-compute
@@ -75,8 +75,8 @@ def main():
topic='%s.%s' % (FLAGS.compute_topic, FLAGS.node_name),
proxy=n)
- # heartbeat = task.LoopingCall(n.report_state)
- # heartbeat.start(interval=FLAGS.node_report_state_interval, now=False)
+ pulse = task.LoopingCall(n.report_state, FLAGS.node_name, 'nova-compute')
+ pulse.start(interval=FLAGS.node_report_state_interval, now=False)
injected = consumer_all.attach_to_twisted()
injected = consumer_node.attach_to_twisted()