summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-12-19 17:51:41 +0100
committerMark Stapp <mjs@voltanet.io>2018-12-19 17:51:41 +0100
commit7e1d580ad730cbc5a522ea9e4dacb0ab0e103ce9 (patch)
tree7dc485fb0459075cf1cf3dc698ea6cdedd10675b /zebra/zserv.h
parentMerge pull request #3448 from chiragshah6/evpn_dev1 (diff)
downloadfrr-7e1d580ad730cbc5a522ea9e4dacb0ab0e103ce9.tar.xz
frr-7e1d580ad730cbc5a522ea9e4dacb0ab0e103ce9.zip
zebra: reduce rib workqueue retry timeout
Reduce the zebra rib workqueue retry timeout, used when the queue towards the zebra dataplane has reached its limit. Lowering the value was reported to improve update throughput on some platforms. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index 439082e78..f0b8934ae 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -187,7 +187,7 @@ struct zebra_t {
/* rib work queue */
#define ZEBRA_RIB_PROCESS_HOLD_TIME 10
-#define ZEBRA_RIB_PROCESS_RETRY_TIME 5
+#define ZEBRA_RIB_PROCESS_RETRY_TIME 1
struct work_queue *ribq;
struct meta_queue *mq;