epacke / BigIPReport

Overview of your loadbalancer configuration
https://loadbalancing.se
8 stars 2 forks source link

don't poll the same pool more than once in the same cycle #95

Closed timriker closed 4 years ago

timriker commented 6 years ago

We don't make the list of polled pools unique. This means if two different virtual server have the same pool visible, we will update the pool members twice on each cycle.

I changed the ajaxqueue to an array to try to avoid this, but that really only works on slow connections or with many pools visible.

We might want to either gather, sort and uniqueify all the visible pools before queueing them, or keep track of when a pool was last polled and don't repoll it to soon.