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:
parent
94dba3399c
commit
ca3c436813
1 changed files with 1 additions and 0 deletions
1
rrd.py
1
rrd.py
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue