From 306d8890439cdb9128d063ee2f77700a11e6843c Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 2 Feb 2006 17:50:19 +0000 Subject: [lib/workqueue] remove the useless 'delay' factor. 2006-02-02 Paul Jakma * workqueue.h: (struct work_queue) Remove the delay field. It served no purpose and just introduced bad behaviour. Should be excised before its allowed to escape into 1.0. This removes need for the 'flood' and runs_since_clear fields. * workqueue.c: (general) excise delay factor between queue runs, hence the 'flood' crap too.. See above. * bgp_route.c: (bgp_{clear_node,process}_queue_init) delay field is removed from workqueue spec. --- bgpd/ChangeLog | 5 +++++ bgpd/bgp_route.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'bgpd') diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index c96bc649..714de1d3 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,8 @@ +2006-02-02 Paul Jakma + + * bgp_route.c: (bgp_{clear_node,process}_queue_init) delay + field is removed from workqueue spec. + 2006-01-19 Paul Jakma * (general) various miscellaneous compiler warning fixes. diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index e0d2a317..3d9856b9 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -1423,8 +1423,6 @@ bgp_process_queue_init (void) = bm->process_main_queue->spec.max_retries = 0; bm->process_rsclient_queue->spec.hold = bm->process_main_queue->spec.hold = 500; - bm->process_rsclient_queue->spec.delay - = bm->process_main_queue->spec.delay = 10; } void @@ -2526,7 +2524,6 @@ bgp_clear_node_queue_init (void) exit (1); } bm->clear_node_queue->spec.hold = 10; - bm->clear_node_queue->spec.delay = 0; /* no gathering to be gained */ bm->clear_node_queue->spec.workfunc = &bgp_clear_route_node; bm->clear_node_queue->spec.del_item_data = &bgp_clear_node_queue_del; bm->clear_node_queue->spec.completion_func = &bgp_clear_node_complete; -- cgit v1.2.1