// returns a crawl entry from the stack and ensures minimum delta times
// we have 3 sources to choose from: the ramStack, the domainStacks and the fileStack
@ -565,8 +576,11 @@ public class Balancer {
thrownewIOException("get() found a valid urlhash, but failed to fetch the corresponding url entry - total size = "+size()+", fileStack.size() = "+urlFileStack.size()+", ramStack.size() = "+urlRAMStack.size()+", domainStacks.size() = "+domainStacks.size());
}
asserturlFileIndex.size()+1==s:"urlFileIndex.size() = "+urlFileIndex.size()+", s = "+s+", result = "+result;
longsleeptime=crawlEntry.waitingRemaining(minimumLocalDelta,minimumGlobalDelta);// this uses the robots.txt database and may cause a loading of robots.txt from the server