diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -20,6 +20,12 @@ STRIP?=strip | |||
| 20 | #FEATURES+=-DWANT_DEV_RANDOM | 20 | #FEATURES+=-DWANT_DEV_RANDOM |
| 21 | FEATURES+=-DWANT_FULLSCRAPE | 21 | FEATURES+=-DWANT_FULLSCRAPE |
| 22 | 22 | ||
| 23 | # Buckets the torrent table is split into, as a power of two, 8 to 16. More | ||
| 24 | # buckets make inserting a new torrent cheaper and cost memory, which is worth | ||
| 25 | # it for a tracker carrying millions of torrents and not for one carrying | ||
| 26 | # thousands. DESIGN has the measurements. | ||
| 27 | FEATURES+=-DOT_BUCKET_COUNT_BITS=10 | ||
| 28 | |||
| 23 | #FEATURES+=-D_DEBUG_HTTPERROR | 29 | #FEATURES+=-D_DEBUG_HTTPERROR |
| 24 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS | 30 | #FEATURES+=-D_DEBUG_RANDOMTORRENTS |
| 25 | 31 | ||
