summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-04-02 09:50:11 +0000
committerSander Vrijders <[email protected]>2017-04-02 09:50:11 +0000
commit484e74fd35417de61005662afe016661ee78114c (patch)
tree0adff5f0a4016e2c0384b5cd06e3783a4eb9c995 /include
parent4e25827bd78ef32ab01715ff7cc8737a5165fc6c (diff)
parentb707d032cecb0cd97f548b755e4ec2bda190e83c (diff)
downloadouroboros-484e74fd35417de61005662afe016661ee78114c.tar.gz
ouroboros-484e74fd35417de61005662afe016661ee78114c.zip
Merged in dstaesse/ouroboros/be-ipcpd-thr (pull request #453)
Be ipcpd thr
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