Reduce clientCounter for every node.

We have an ghost client for every node, we don't want them in the global
client measurement.
This commit is contained in:
Daniel Ehlers 2013-11-18 23:41:27 +01:00
parent 94dba3399c
commit ca3c436813

1
rrd.py
View file

@ -113,6 +113,7 @@ class rrd:
if not node.flags['client']:
nodes[node.id] = node
node.clients = 0;
clientCount -= 1
else:
clientCount += 1
for link in db.get_links():