summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul>2006-09-14 03:38:16 +0000
committerpaul <paul>2006-09-14 03:38:16 +0000
commit9ee8f025e71fe16c048e3574973768a87ec12f76 (patch)
treeb1c64a9f290209874a7cd7ab8930654da86d407b
parent4b62d77c0c605665473ac1de578f2b800a9cb200 (diff)
downloadquagga-9ee8f025e71fe16c048e3574973768a87ec12f76.tar.bz2
quagga-9ee8f025e71fe16c048e3574973768a87ec12f76.tar.xz
[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/ChangeLog3
-rw-r--r--bgpd/bgp_route.c2
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