summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_rib.c1
-rw-r--r--zebra/zserv.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index f2d07310ee..9f1374af57 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -2362,6 +2362,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,
diff --git a/zebra/zserv.h b/zebra/zserv.h
index f7967f54f0..fe1dbdbfe4 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -184,6 +184,7 @@ struct zebra_t {
/* rib work queue */
#define ZEBRA_RIB_PROCESS_HOLD_TIME 10
+#define ZEBRA_RIB_PROCESS_RETRY_TIME 5
struct work_queue *ribq;
struct meta_queue *mq;