forked from FF-RGB/ansible
Attempt to force better distribution of clients
This commit is contained in:
parent
e4a2882331
commit
2297707bed
@ -22,8 +22,14 @@ include "secret.conf";
|
|||||||
mtu {{ mtu }};
|
mtu {{ mtu }};
|
||||||
|
|
||||||
{% if fastd_peers_limit > -1 %}
|
{% if fastd_peers_limit > -1 %}
|
||||||
|
{% if item|int == 0 %}
|
||||||
|
peer limit {{ fastd_peers_limit-10 }};
|
||||||
|
{% elif item|int == (fastd_instances-1) %}
|
||||||
|
peer limit {{ fastd_peers_limit+10 }};
|
||||||
|
{% else %}
|
||||||
peer limit {{ fastd_peers_limit }};
|
peer limit {{ fastd_peers_limit }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
on up "
|
on up "
|
||||||
ifconfig $INTERFACE down
|
ifconfig $INTERFACE down
|
||||||
|
Loading…
Reference in New Issue
Block a user