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
rrd.py
1
rrd.py
|
@ -113,6 +113,7 @@ class rrd:
|
||||||
if not node.flags['client']:
|
if not node.flags['client']:
|
||||||
nodes[node.id] = node
|
nodes[node.id] = node
|
||||||
node.clients = 0;
|
node.clients = 0;
|
||||||
|
clientCount -= 1
|
||||||
else:
|
else:
|
||||||
clientCount += 1
|
clientCount += 1
|
||||||
for link in db.get_links():
|
for link in db.get_links():
|
||||||
|
|
Loading…
Reference in a new issue