summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2013-07-07 14:45:10 +0000
committerMarko Kreen2013-07-07 14:45:10 +0000
commit64f2e0b964fafff812b2e871d6c1d4ea079161d9 (patch)
tree89cf76266941cca24dce94ab8dc9a7acf58b13f0
parent750b7be2cad86076eae334e66f9b5b63f378f1c1 (diff)
pgq.Consumer: non-lazy loading should use RetriableEvent
-rw-r--r--python/pgq/consumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pgq/consumer.py b/python/pgq/consumer.py
index 10cb0909..af5aaf1a 100644
--- a/python/pgq/consumer.py
+++ b/python/pgq/consumer.py
@@ -61,7 +61,7 @@ class Consumer(BaseConsumer):
_batch_walker_class = RetriableBatchWalker
def _make_event(self, queue_name, row):
- return RetriableWalkerEvent(self, queue_name, row)
+ return RetriableEvent(queue_name, row)
def _flush_retry(self, curs, batch_id, list):
"""Tag retry events."""