diff options
| author | erdgeist <> | 2007-11-03 13:43:05 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-11-03 13:43:05 +0000 |
| commit | a6b83118123f6281d0cad123aebcf5d20be6dd68 (patch) | |
| tree | f0a740363c251605fcc87a13aaa0658bc59d557a /trackerlogic.h | |
| parent | 8acc0ff48f675cf154987cfc11fe9ba7813eaf50 (diff) | |
Introducing first tools to make opentracker multithreaded.
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 7cf75b2..67b14e1 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
| @@ -44,6 +44,7 @@ typedef struct { | |||
| 44 | 44 | ||
| 45 | /* Number of tracker admin ip addresses allowed */ | 45 | /* Number of tracker admin ip addresses allowed */ |
| 46 | #define OT_ADMINIP_MAX 64 | 46 | #define OT_ADMINIP_MAX 64 |
| 47 | #define OT_MAX_THREADS 16 | ||
| 47 | 48 | ||
| 48 | /* We maintain a list of 4096 pointers to sorted list of ot_torrent structs | 49 | /* We maintain a list of 4096 pointers to sorted list of ot_torrent structs |
| 49 | Sort key is, of course, its hash */ | 50 | Sort key is, of course, its hash */ |
