Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) 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

theli58a65b60bd60
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index ada1af810..bea233746 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -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
if ((urlEntry == null) && (urlEntry.url() == null)) {
log.logInfo("LOCALCRAWL[" + noticeURL.localStackSize() + ", " + noticeURL.remoteStackSize() + "]: urlEntry=null");