Quote:
Originally posted by James Cridland
Well, after a lot of fiddling...
To make a huge increase in the speed, comment out (with the closing brackets, of course):
"if ($h = $c->head($mid)) {" (in get_batch)
"if($b = $c->body($mid)) {" (just after the check for spam)
Then it speeds along, as you say it should (though it doesn't find any to import at the end...)
So, for this novice perl programmer - presumably "head" and "body" are in a module somewhere, and this module needs reinstalling?
|
hehe. I'm not surprised that speeds things up. Those two lines are the ones that actually grab the article (first the header, then the body) from the news server.
However, by doing that, you have established the problem is probably with the news server and not the script. Do you have access to another news server you can try? If not, PM me your IP and I will give you temporary access to my DNews server for testing.