allow custom ppm lower than minimum button on /Crawler_p.html

fixes http://bugs.yacy.net/view.php?id=166
pull/1/head
Lotus 13 years ago
parent e14eb9de82
commit 0b3f39136e

@ -2936,10 +2936,10 @@ public final class Switchboard extends serverSwitch
int wPPM = wantedPPM; int wPPM = wantedPPM;
// we consider 3 cases here // we consider 3 cases here
// wantedPPM <= 10: low performance // wantedPPM <= 10: low performance
// 10 < wantedPPM < 1000: custom performance // 10 < wantedPPM < 30000: custom performance
// 1000 <= wantedPPM : maximum performance // 30000 <= wantedPPM : maximum performance
if ( wPPM <= 10 ) { if ( wPPM <= 0 ) {
wPPM = 10; wPPM = 1;
} }
if ( wPPM >= 30000 ) { if ( wPPM >= 30000 ) {
wPPM = 30000; wPPM = 30000;

Loading…
Cancel
Save