*) setting thread name for search threads

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@155 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 7994c485f1
commit c2378a968f

@ -475,7 +475,7 @@ public class yacyCore {
public static boolean changeSeedUploadMethod(String method) {
if ((method == null)||(method.length() == 0)) return false;
if (method.equals("none")) return true;
if (method.equalsIgnoreCase("none")) return true;
synchronized (yacyCore.seedUploadMethods) {
return yacyCore.seedUploadMethods.containsKey(method);

@ -61,6 +61,7 @@ public class yacySearch extends Thread {
public yacySearch(Set wordhashes, int count, boolean global, yacySeed targetPeer,
plasmaCrawlLURL urlManager, plasmaSearch searchManager, long duetime) {
super("yacySearch_" + targetPeer.getName());
this.wordhashes = wordhashes;
this.count = count;
this.global = global;

Loading…
Cancel
Save