*) Bugfix for IllegalMonitorStateException

See: http://www.yacy-forum.de/viewtopic.php?t=3522

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3358 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 18 years ago
parent bf69a721cb
commit e1edb23689

@ -164,7 +164,7 @@ public class plasmaCrawlBalancer {
// this is only to protect against the worst case, where the crawler could
// behave in a DoS-manner
long sleeptime = minimumDelta - delta;
try {this.wait(sleeptime);} catch (InterruptedException e) {}
try {synchronized(this) { this.wait(sleeptime); }} catch (InterruptedException e) {}
}
domainAccess.put(entry.substring(6), new Long(System.currentTimeMillis()));
return entry;

Loading…
Cancel
Save