Fix potential divide by zero. Increased latency parameters to threshold=0.50,...
Fix potential divide by zero. Increased latency parameters to threshold=0.50, history=10. Maybe it's just because my control plane is over a VPN and over the public internet, but the link latencies are fluctuating a bit. TODO evaluate whether or not we should completely clear the average/history each time we accept a new latency value. This would lessen the number of latency updates.
Showing
- src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java 2 additions, 2 deletions...ntroller/linkdiscovery/internal/LinkDiscoveryManager.java
- src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkInfo.java 1 addition, 1 deletion...floodlightcontroller/linkdiscovery/internal/LinkInfo.java
- src/main/resources/floodlightdefault.properties 1 addition, 1 deletionsrc/main/resources/floodlightdefault.properties
Loading
Please register or sign in to comment