mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +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:
parent
d69d804679
commit
d373d48377
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user