1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-27 07:06:45 +00:00

Increase number of locks to accomodate for more cores on contemporary CPUs

This commit is contained in:
Dirk Engling 2015-06-08 01:44:57 +02:00
parent f0026ed1e0
commit fca2b993a9

View File

@ -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