summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/config.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in
index 30bab68f..b19bb17f 100644
--- a/include/ouroboros/config.h.in
+++ b/include/ouroboros/config.h.in
@@ -52,13 +52,17 @@
#define IRMD_MIN_AV_THREADS 16
#define IRMD_MAX_AV_THREADS 64
#define IRMD_MAX_THREADS 256
+/* IPCP dynamic threadpooling */
+#define IPCP_MIN_AV_THREADS 4
+#define IPCP_MAX_AV_THREADS 32
+#define IPCP_MAX_THREADS 64
-#define IPCPD_THREADPOOL_SIZE 16
#define IPCPD_MAX_CONNS IRMD_MAX_FLOWS
#define PTHREAD_COND_CLOCK CLOCK_MONOTONIC
#define PFT_SIZE 1 << 12
/* Timeout values */
#define IRMD_TPM_TIMEOUT 1000
+#define IPCP_TPM_TIMEOUT 1000
#define IRMD_ACCEPT_TIMEOUT 100
#define IRMD_REQ_ARR_TIMEOUT 500
#define IRMD_FLOW_TIMEOUT 5000