From 4e9d8767504aeaed6d9196582eda574300763e55 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 27 Feb 2010 07:19:09 +0000 Subject: [PATCH] Always reset acitve and waiting on reloading --- network-broker/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network-broker/stats.py b/network-broker/stats.py index 38c28d7..0b537af 100644 --- a/network-broker/stats.py +++ b/network-broker/stats.py @@ -20,8 +20,8 @@ class Container: self.total_connections = other.total_connections self.country_count = other.country_count self.last_10 = other.last_10 - self.nr_active = other.nr_active - self.nr_waiting = other.nr_waiting + self.nr_active = 0 # Always reset + self.nr_waiting = 0 except: pass