Explorar o código

A bit more delay by default

Zachary Kotlarek %!s(int64=11) %!d(string=hai) anos
pai
achega
153f12cf10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -252,7 +252,7 @@ if (-e $dir . '/excludes') {
 my $SOURCES = initSources();
 
 # Adjust the inter-page delay with respect to the number of unique sources
-$DELAY /= scalar(keys(%{$SOURCES}));
+$DELAY /= scalar(keys(%{$SOURCES})) / 2;
 
 # Handle custom searches
 if ((scalar(@urls) < 1) && defined($search) && length($search) > 0) {