aboutsummaryrefslogtreecommitdiff
path: root/src/core/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/defs.h')
-rw-r--r--src/core/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/defs.h b/src/core/defs.h
index 1dffdad0..a313c248 100644
--- a/src/core/defs.h
+++ b/src/core/defs.h
@@ -175,4 +175,9 @@ typedef nni_type nni_opt_type;
// NNI_MAX_HEADER_SIZE is our header size.
#define NNI_MAX_HEADER_SIZE ((NNI_MAX_MAX_TTL + 1) * sizeof(uint32_t))
+// NNI_EXPIRE_Q_SIZE is the default size of aio expire queue
+#ifndef NNI_EXPIRE_Q_SIZE
+#define NNI_EXPIRE_Q_SIZE 256
+#endif
+
#endif // CORE_DEFS_H