mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
3956. [func] Notify messages are now rate limited by notify-rate and
startup-notify-rate instead of serial-query-rate. [RT #24454] 3955. [bug] Notify messages due to changes are no longer queued behind startup notify messages. [RT #24454]
This commit is contained in:
@@ -5701,6 +5701,16 @@ load_configuration(const char *filename, ns_server_t *server,
|
||||
INSIST(result == ISC_R_SUCCESS);
|
||||
dns_zonemgr_settransfersperns(server->zonemgr, cfg_obj_asuint32(obj));
|
||||
|
||||
obj = NULL;
|
||||
result = ns_config_get(maps, "notify-rate", &obj);
|
||||
INSIST(result == ISC_R_SUCCESS);
|
||||
dns_zonemgr_setnotifyrate(server->zonemgr, cfg_obj_asuint32(obj));
|
||||
|
||||
obj = NULL;
|
||||
result = ns_config_get(maps, "startup-notify-rate", &obj);
|
||||
INSIST(result == ISC_R_SUCCESS);
|
||||
dns_zonemgr_setstartupnotifyrate(server->zonemgr, cfg_obj_asuint32(obj));
|
||||
|
||||
obj = NULL;
|
||||
result = ns_config_get(maps, "serial-query-rate", &obj);
|
||||
INSIST(result == ISC_R_SUCCESS);
|
||||
|
Reference in New Issue
Block a user