[lib/workqueue] remove the useless 'delay' factor.
2006-02-02 Paul Jakma <paul.jakma@sun.com>
* 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.
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index c96bc64..714de1d 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-02 Paul Jakma <paul.jakma@sun.com>
+
+ * bgp_route.c: (bgp_{clear_node,process}_queue_init) delay
+ field is removed from workqueue spec.
+
2006-01-19 Paul Jakma <paul.jakma@sun.com>
* (general) various miscellaneous compiler warning fixes.
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index e0d2a31..3d9856b 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -1423,8 +1423,6 @@
= 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 @@
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;