summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2010-11-26 10:01:40 +0000
committerMarko Kreen2010-11-26 10:01:40 +0000
commit8901ff7ed90ac78ae5a308aeb381e8aa470e15fd (patch)
treee43cce9f062fcf111078efa5822336c5631135ea
parentc25ac2ca37b0b24544131d620b3d672ddd706842 (diff)
fix var name in last commit
-rw-r--r--python/pgq/cascade/consumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pgq/cascade/consumer.py b/python/pgq/cascade/consumer.py
index f3aad1bf..10866620 100644
--- a/python/pgq/cascade/consumer.py
+++ b/python/pgq/cascade/consumer.py
@@ -152,7 +152,7 @@ class CascadedConsumer(Consumer):
# set on destination
q = "select * from pgq_node.set_consumer_completed(%s, %s, %s)"
- dst_curs.execute(q, [self.queue_name, self.consumer_name, tick_id])
+ dst_curs.execute(q, [self.queue_name, self.consumer_name, last_tick])
dst_db.commit()
def process_batch(self, src_db, batch_id, event_list):