summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-14 17:31:16 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-14 17:31:16 +0200
commit04e0eca0a0309a9c5eefcb8317f21fff603f9a59 (patch)
treeb9773298e1b78caf11bba7498ca1b168518450fd /opentracker.c
parentcab821f253976a21a1ad5fcf05d9d5fe3b3100c1 (diff)
Make the amount of random torrents a tunable
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 8e04907..8d56ed6 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -722,7 +722,8 @@ int main( int argc, char **argv ) {
722 trackerlogic_init( ); 722 trackerlogic_init( );
723 723
724#ifdef _DEBUG_RANDOMTORRENTS 724#ifdef _DEBUG_RANDOMTORRENTS
725 trackerlogic_add_random_torrents(1024*1024*1); 725 fprintf(stderr, "DEBUG: Generating %zd random peers on random torrents. This may take a while. (Setting RANDOMTORRENTS in trackerlogic.h\n", RANDOMTORRENTS);
726 trackerlogic_add_random_torrents(RANDOMTORRENTS);
726#endif 727#endif
727 728
728 if( statefile ) 729 if( statefile )