0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00

Table cork compromise

The original values were way too low but what was set
later was too high and caused memory buildup upon startup.
This commit is contained in:
Maria Matejka 2024-12-16 09:34:08 +01:00
parent d69d804679
commit d373d48377

View File

@ -4469,8 +4469,8 @@ rt_new_table(struct symbol *s, uint addr_type)
c->addr_type = addr_type; c->addr_type = addr_type;
c->gc_threshold = 1000; c->gc_threshold = 1000;
c->gc_period = (uint) -1; /* set in rt_postconfig() */ c->gc_period = (uint) -1; /* set in rt_postconfig() */
c->cork_threshold.low = 333300; c->cork_threshold.low = 32768;
c->cork_threshold.high = 1011010; c->cork_threshold.high = 98304;
c->export_settle = (struct settle_config) { c->export_settle = (struct settle_config) {
.min = 1 MS, .min = 1 MS,
.max = 100 MS, .max = 100 MS,