summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-25 16:47:55 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-25 16:59:05 +0200
commit3a30f50f3ff40888caddc75b04f915fa0d5456c4 (patch)
treec8189405d0d18254bcaa1f37ce5882e281273793 /zebra/zserv.h
parentlib, ospf6d, ospfd, zebra: Add ZEBRA_STR (diff)
downloadfrr-3a30f50f3ff40888caddc75b04f915fa0d5456c4.tar.xz
frr-3a30f50f3ff40888caddc75b04f915fa0d5456c4.zip
zebra: Allow user to specify work-queue processing hold time
Allow the user to modify the work-queue processing hold time from 10ms to a value from (0-10000). Make the command hidden as that it's a semi-dangerous command and it could cause issues. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index f661572d5..d847526f2 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -132,6 +132,7 @@ struct zebra_t {
u_int32_t rtm_table_default;
/* rib work queue */
+ #define ZEBRA_RIB_PROCESS_HOLD_TIME 10
struct work_queue *ribq;
struct meta_queue *mq;