*) synchronized keyword removed from function processLocalCrawling to avoid deadlocks.

This synchronized keyword is not needed anymore because of the crawler jobqueue which
   is responsible for the synchronization now

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@60 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 65fc650109
commit 58a65b60bd

@ -770,7 +770,7 @@ public class plasmaSwitchboard extends serverAbstractSwitch implements serverSwi
} }
} }
private synchronized void processLocalCrawling(plasmaCrawlNURL.entry urlEntry, plasmaCrawlProfile.entry profile, String initiator) { private void processLocalCrawling(plasmaCrawlNURL.entry urlEntry, plasmaCrawlProfile.entry profile, String initiator) {
// work off one Crawl stack entry // work off one Crawl stack entry
if ((urlEntry == null) && (urlEntry.url() == null)) { if ((urlEntry == null) && (urlEntry.url() == null)) {
log.logInfo("LOCALCRAWL[" + noticeURL.localStackSize() + ", " + noticeURL.remoteStackSize() + "]: urlEntry=null"); log.logInfo("LOCALCRAWL[" + noticeURL.localStackSize() + ", " + noticeURL.remoteStackSize() + "]: urlEntry=null");

Loading…
Cancel
Save