a545da420c
Instead of restarting the dnsmasq agent for every IP we do this in bulk. That is, if a network has N updates in X seconds then we will restart the process once with the ports configured in the X seconds and not N Times. A new configuration variable have been added: - bulk_reload_interval - time to wait between bulk reloads. This is 0 by default to ensure backwards compatibility. If the value is not 0 the new functionlay is invoked. Change-Id: Ieff5ce4506fd4e7fa427eb50c50fbe316f67103f
15 lines
624 B
YAML
15 lines
624 B
YAML
---
|
|
features:
|
|
- By default the dnsmasq agent is restarted for every
|
|
port created, deleted or updated. When there are
|
|
many port changes on the same network it can and will
|
|
take a very long time for all of the port changes to
|
|
be realised. This enhancement adds in a new
|
|
configuration variable that will enable bulk updates.
|
|
This means that the dnsmasq will only be restarted once
|
|
in a period and not N times.
|
|
The new option 'bulk_reload_interval' indicates how
|
|
often the agent should be reloaded. The default value
|
|
is 0 which means that the original functionality is the
|
|
default.
|