瀏覽代碼

A bit more delay by default

Zachary Kotlarek 11 年之前
父節點
當前提交
153f12cf10
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

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