diff options
| author | Russ White <russ@riw.us> | 2017-10-31 20:27:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-31 20:27:19 -0400 |
| commit | 453a5340a8dc1400f44d1843b8687ac750282b12 (patch) | |
| tree | 6fb17dfb030db73e0050149b1a54eaa869ee3101 /zebra/zebra_rib.c | |
| parent | b8c962aa6e7411ac24d6532b3b0fc8896eaf82d4 (diff) | |
| parent | 62d52dedf08e47fb65674209cf5b7f9d62eb7e4f (diff) | |
Merge pull request #1363 from donaldsharp/z_improvements
Z improvements
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index d46e0730ee..b5c2bc6dae 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -57,12 +57,6 @@ DEFINE_HOOK(rib_update, (struct route_node * rn, const char *reason), /* Should we allow non Quagga processes to delete our routes */ extern int allow_delete; -/* Hold time for RIB process, should be very minimal. - * it is useful to able to set it otherwise for testing, hence exported - * as global here for test-rig code. - */ -int rib_process_hold_time = 10; - /* Each route type's string and default distance value. */ static const struct { int key; @@ -1899,7 +1893,7 @@ static void rib_queue_init(struct zebra_t *zebra) zebra->ribq->spec.completion_func = &meta_queue_process_complete; /* XXX: TODO: These should be runtime configurable via vty */ zebra->ribq->spec.max_retries = 3; - zebra->ribq->spec.hold = rib_process_hold_time; + zebra->ribq->spec.hold = ZEBRA_RIB_PROCESS_HOLD_TIME; if (!(zebra->mq = meta_queue_new())) { zlog_err("%s: could not initialise meta queue!", __func__); |
