summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-14 10:00:49 -0500
committerGitHub <noreply@github.com>2018-12-14 10:00:49 -0500
commit85c3d6005e418cb6e5470be98a56a7b241da2b86 (patch)
treefadd503c1e623e0a604b71cb19d402d9c550c6fc /zebra/zebra_rib.c
parent8e3202a95fef2e24fb9efd666e545b2b9014cda6 (diff)
parent6dd7b8489409f40dc6c91ae6de2da27fee6b093c (diff)
Merge pull request #3464 from mjstapp/wq_event
libs,zebra: support timeout for workqueue retries, use for rib
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 44fedd8668..5d6eac7533 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -2295,6 +2295,7 @@ static void rib_queue_init(struct zebra_t *zebra)
/* XXX: TODO: These should be runtime configurable via vty */
zebra->ribq->spec.max_retries = 3;
zebra->ribq->spec.hold = ZEBRA_RIB_PROCESS_HOLD_TIME;
+ zebra->ribq->spec.retry = ZEBRA_RIB_PROCESS_RETRY_TIME;
if (!(zebra->mq = meta_queue_new())) {
flog_err(EC_ZEBRA_WQ_NONEXISTENT,