Reduce clientCounter for every node.

We have an ghost client for every node, we don't want them in the global
client measurement.
alfred-data
Daniel Ehlers 2013-11-18 23:41:27 +01:00
parent 94dba3399c
commit ca3c436813
1 changed files with 1 additions and 0 deletions

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():