Doğacan Güney wrote: > I don't get it. The code seems to do exactly the opposite of what you > are saying. If maxThreads == 1 then maxThreads > 1 is false thus the > expression evaluates to minCrawlDelay not crawlDelay. Shouldn't the > expression be (maxThreads > 1 ? minCrawlDelay : crawlDelay) ?
Yep, you're right - it's a bug. However, the reasoning that I presented still holds, it's just the implementation that doesn't get it ;) -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers