summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2020-09-16 13:26:23 +0800
committer陆秋文 <[email protected]>2020-09-16 13:29:24 +0800
commit280328aee8decdaf63ccfe8f5ea4e451b3a608fd (patch)
tree1e4e3ee9d1581fca11e18cac209d6ae536c26d74
parent68ce0cd4c2ebf20af613ef8ddde315623d695992 (diff)
调整VNODE中生产者、消费者通信队列数量的上限到128,避免多个应用同时打开同一网卡时超过上限数量。v4.3.26-20200916
-rw-r--r--infra/include/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/include/common.h b/infra/include/common.h
index acf8983..a28b53f 100644
--- a/infra/include/common.h
+++ b/infra/include/common.h
@@ -32,11 +32,11 @@ extern "C" {
#endif
#ifndef MR_CONS_MAX
-#define MR_CONS_MAX 16
+#define MR_CONS_MAX 128
#endif
#ifndef MR_PROD_MAX
-#define MR_PROD_MAX 16
+#define MR_PROD_MAX 128
#endif
#ifndef MR_SID_MAX