diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-09-14 03:38:16 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-09-14 03:38:16 +0000 |
commit | 09dd561eb444ab009103b2dde62db212eae7064a (patch) | |
tree | e7763c690dec621ca81370721f6c7b6cd38a5b10 | |
parent | 8383a9bd2721dbd8fb1b657269a2cdc40b4226e1 (diff) |
[bgpd] reduce the process queue hold time to something more sensible
2006-09-14 Paul Jakma <paul.jakma@sun.com>
* bgp_route.c: (bgp_process_queue_init) process queue hold time
too high, adds extra memory load. Change to be much lower,
until such time as it's made configurable.
-rw-r--r-- | bgpd/ChangeLog | 3 | ||||
-rw-r--r-- | bgpd/bgp_route.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index e679f434..7f0130a9 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -4,6 +4,9 @@ should only count top-level unaggregateable prefixes, to avoid falling afoul of anti-dodgy-accounting regulations in various jurisdictions.. ;) + (bgp_process_queue_init) process queue hold time too high, + adds extra memory load. Change to be much lower, until such + time as it's made configurable. 2006-09-14 Paul Jakma <paul.jakma@sun.com> diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 7cf86438..cd28b4df 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -1474,7 +1474,7 @@ bgp_process_queue_init (void) bm->process_main_queue->spec.max_retries = bm->process_main_queue->spec.max_retries = 0; bm->process_rsclient_queue->spec.hold - = bm->process_main_queue->spec.hold = 500; + = bm->process_main_queue->spec.hold = 50; } void |