diff --git a/warcprox/stats.py b/warcprox/stats.py index 316531d..a6a8298 100644 --- a/warcprox/stats.py +++ b/warcprox/stats.py @@ -160,7 +160,7 @@ class RethinkStatsDb: self._batch = {} if not self._stop.is_set(): - self._timer = threading.Timer(0.5, self._update_batch) + self._timer = threading.Timer(2.0, self._update_batch) self._timer.name = "RethinkStats-batch-update-timer-%s" % datetime.datetime.utcnow().isoformat() self._timer.start() else: