summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgit <git>2015-06-07 23:46:16 +0000
committergit <git>2015-06-07 23:46:16 +0000
commit9b3eef571a78c6fed5a5d688ef3121017691a41b (patch)
tree70e942867f608c844b42a5b225afd7b180f98f2b
parent7392077f6923b2e490a958d932b918dc8d993369 (diff)
downloadopentracker-9b3eef571a78c6fed5a5d688ef3121017691a41b.tar.gz
opentracker-9b3eef571a78c6fed5a5d688ef3121017691a41b.zip
Increase number of locks to accomodate for more cores on contemporary CPUs
-rw-r--r--trackerlogic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 5ae644b..370782a 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -45,7 +45,7 @@ typedef struct { ot_ip6 address; int bits; }
/* Number of tracker admin ip addresses allowed */
#define OT_ADMINIP_MAX 64
-#define OT_MAX_THREADS 16
+#define OT_MAX_THREADS 64
#define OT_PEER_TIMEOUT 45