mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
*) Bugfix for last commit
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1506 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
22fd1ca9aa
commit
442807cb29
|
@ -183,7 +183,7 @@ public final class IndexImport_p {
|
|||
prop.put("running.jobs_" + i + "_percent", Integer.toString(currThread.getProcessingStatusPercent()));
|
||||
prop.put("running.jobs_" + i + "_elapsed", serverDate.intervalToString(currThread.getElapsedTime()));
|
||||
prop.put("running.jobs_" + i + "_estimated", serverDate.intervalToString(currThread.getEstimatedTime()));
|
||||
prop.put("running.jobs_" + i + "_status", currThread.getStatus().replace("\n", "<br>"));
|
||||
prop.put("running.jobs_" + i + "_status", currThread.getStatus().replaceAll("\n", "<br>"));
|
||||
|
||||
// job number of the importer thread
|
||||
prop.put("running.jobs_" + i + "_job_nr", Integer.toString(currThread.getJobID()));
|
||||
|
@ -210,7 +210,7 @@ public final class IndexImport_p {
|
|||
}
|
||||
prop.put("finished.jobs_" + i + "_percent", Integer.toString(currThread.getProcessingStatusPercent()));
|
||||
prop.put("finished.jobs_" + i + "_elapsed", serverDate.intervalToString(currThread.getElapsedTime()));
|
||||
prop.put("finished.jobs_" + i + "_status", currThread.getStatus().replace("\n", "<br>"));
|
||||
prop.put("finished.jobs_" + i + "_status", currThread.getStatus().replaceAll("\n", "<br>"));
|
||||
}
|
||||
prop.put("finished.jobs",finishedJobs.length);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class dbImportManager {
|
|||
|
||||
for (int i=0; i < activeCount; i++) {
|
||||
dbImporter currThread = (dbImporter) importThreads[i];
|
||||
if (currThread.getJobID() == Integer.valueOf(jobID).intValue()) {
|
||||
if (currThread.getJobID() == jobID) {
|
||||
return currThread;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user