Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add pulse heartbeat

  • Loading branch information...
commit 17dcc45db49c823c659a0064d778a1cfb4590676 1 parent 5b71483
Jonathan Griffin jonallengriffin authored

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  setup.py
  2. +2 1  synkamatic/api.py
2  setup.py
@@ -5,7 +5,7 @@
5 5 import os
6 6
7 7 version = "0.0"
8   -dependencies = ['MozillaPulse']
  8 +dependencies = ['MozillaPulse >= 0.61']
9 9
10 10 # allow use of setuptools/distribute or distutils
11 11 kw = {}
3  synkamatic/api.py
@@ -35,8 +35,9 @@ def start_pulse_listener(self):
35 35 """Start listening to pulse messages. This method will never return.
36 36 """
37 37
38   - pulse = CodeConsumer(applabel='synkamatic|%s' % socket.gethostname())
39 38 treewords = self.tree.replace('-', '.')
  39 + pulse = CodeConsumer(applabel='synkamatic|%s' % socket.gethostname(),
  40 + heartbeat=True)
40 41 pulse.configure(topic="hg.commit.#.%s" % treewords,
41 42 callback=self.on_pulse_message,
42 43 durable=False)

0 comments on commit 17dcc45

Please sign in to comment.
Something went wrong with that request. Please try again.