one more warning in case that crawling is paused because of low disk

space
pull/1/head
Michael Peter Christen 13 years ago
parent 0ec2713af8
commit 4844e124b1

@ -110,6 +110,12 @@
</dd>
#(/warningMemoryLow)#
#(warningCrawlPaused)#::
<dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
<dd class="hint">Crawling is paused! If the crawling was paused automatically, please check your disk space.
</dd>
#(/warningCrawlPaused)#
<!-- hints -->
#(hintVersionAvailable)#::

@ -176,6 +176,10 @@ public class Status
prop.put("hintSupport", "1");
}
if (adminaccess && sb.crawlJobIsPaused(SwitchboardConstants.CRAWLJOB_LOCAL_CRAWL)) {
prop.put("warningCrawlPaused", "1");
}
// hostname and port
final String extendedPortString = sb.getConfig("port", "8090");
final int pos = extendedPortString.indexOf(':', 0);

Loading…
Cancel
Save