summaryrefslogtreecommitdiff
path: root/python/pgq/setconsumer.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/pgq/setconsumer.py')
-rw-r--r--python/pgq/setconsumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pgq/setconsumer.py b/python/pgq/setconsumer.py
index 3b87cbfd..76b8dbe6 100644
--- a/python/pgq/setconsumer.py
+++ b/python/pgq/setconsumer.py
@@ -183,7 +183,7 @@ class SetConsumer(skytools.DBScript):
self.process_set_event(dst_curs, ev)
if self.dst_queue:
self.dst_queue.bulk_insert(dst_curs, ev)
- self.stat_add('count', len(ev_list))
+ self.stat_increase('count', len(ev_list))
def process_set_event(self, dst_curs, ev):
if ev.type == 'set-tick':