How can i change what the popular cutoff is? it is default at 2 how do i change?
Search for this in nph-build.cgi
@popular = sort { $b <=> $a } @popular;
($db_popular_cutoff < 1) ?
($cutoff = $popular[int($db_popular_cutoff * $#popular)]) :
($cutoff = $popular[$db_popular_cutoff - 1]);
($cutoff < 2) and ($cutoff = 2);
Change the 2 in ($cutoff < 2) and ($cutoff = 2); to the number that you want.
Code:
# Sort the popular list, and set the cutoff mark. @popular = sort { $b <=> $a } @popular;
($db_popular_cutoff < 1) ?
($cutoff = $popular[int($db_popular_cutoff * $#popular)]) :
($cutoff = $popular[$db_popular_cutoff - 1]);
($cutoff < 2) and ($cutoff = 2);
Change the 2 in ($cutoff < 2) and ($cutoff = 2); to the number that you want.