diff options
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-x | python/walmgr.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/walmgr.py b/python/walmgr.py index 63c1bf26..ea384705 100755 --- a/python/walmgr.py +++ b/python/walmgr.py @@ -645,8 +645,8 @@ class WalMgr(skytools.DBScript): self.log.debug("%s: done", srcname) end_time = time.time() - self.stat_add('count', 1) - self.stat_add('duration', end_time - start_time) + self.stat_put('count', 1) + self.stat_put('duration', end_time - start_time) self.send_stats() def slave_append_partial(self): @@ -942,7 +942,7 @@ class WalMgr(skytools.DBScript): open(prgrfile, "w").write("1") # it would be nice to have apply time too - self.stat_add('count', 1) + self.stat_put('count', 1) self.send_stats() def restore_database(self): |