diff options
author | Marko Kreen | 2008-04-16 09:55:41 +0000 |
---|---|---|
committer | Marko Kreen | 2008-04-16 09:55:41 +0000 |
commit | 2e10c0cdeba86ade288e9fc4a0eaf8b0141f898e (patch) | |
tree | e2b443348eb762cbf76a5af3f84366c35d0c6928 /python/pgq/setconsumer.py | |
parent | 8277ba5546ced7a745d47ffc310964b761a98144 (diff) |
fix more bugs - stats, trigger type
Diffstat (limited to 'python/pgq/setconsumer.py')
-rw-r--r-- | python/pgq/setconsumer.py | 2 |
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': |