Skip to content

Commit

Permalink
*) hint for idle indexer only appears if indexer is idle now
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3744 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
auron_x committed May 21, 2007
1 parent 7904175 commit cd3494a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/Status.java
Expand Up @@ -181,7 +181,7 @@ else if (jobType.equals("globalCrawlTrigger"))
*/

// place some more hints
if ((adminaccess) && (sb.getThread(plasmaSwitchboard.CRAWLJOB_LOCAL_CRAWL).getJobCount() == 0)) {
if ((adminaccess) && (sb.getThread(plasmaSwitchboard.CRAWLJOB_LOCAL_CRAWL).getJobCount() == 0) && (sb.getThread(plasmaSwitchboard.INDEXER).getJobCount() == 0)) {
prop.put("hintCrawlStart", 1);
}

Expand Down

0 comments on commit cd3494a

Please sign in to comment.