summaryrefslogtreecommitdiff
path: root/python/pgq/consumer.py
diff options
context:
space:
mode:
authorMarko Kreen2007-07-23 14:20:55 +0000
committerMarko Kreen2007-07-23 14:20:55 +0000
commit478e45714bc4e65a18af101b36bc8259caa8c36c (patch)
tree429cac8f8c54d56803b10c8a6d16dc8aa3f23c7d /python/pgq/consumer.py
parenta03667304da8e8b3a28d8f76fdb6cac14d0e967f (diff)
pgq: aquire cur_tick also, although not used atm
Diffstat (limited to 'python/pgq/consumer.py')
-rw-r--r--python/pgq/consumer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pgq/consumer.py b/python/pgq/consumer.py
index 0cd55d1d..e661dac4 100644
--- a/python/pgq/consumer.py
+++ b/python/pgq/consumer.py
@@ -317,6 +317,7 @@ class SerialConsumer(Consumer):
in external database.
"""
+ cur_tick = self.cur_batch_info['tick_id']
prev_tick = self.cur_batch_info['prev_tick_id']
dst_tick = self.get_last_tick(dst_curs)