fix #111
This commit is contained in:
parent
1554cdb37c
commit
8a2e9c10a1
3 changed files with 0 additions and 17 deletions
|
@ -68,9 +68,6 @@ public class CrawlAction implements Serializable {
|
|||
Constants.SERVER_ROTATION_PROPERTY, Constants.FALSE);
|
||||
crawlForm.dayForCleanup = crawlerProperties.getProperty(
|
||||
Constants.DAY_FOR_CLEANUP_PROPERTY, "1");
|
||||
crawlForm.commitPerCount = crawlerProperties.getProperty(
|
||||
Constants.COMMIT_PER_COUNT_PROPERTY,
|
||||
Long.toString(Constants.DEFAULT_COMMIT_PER_COUNT));
|
||||
crawlForm.crawlingThreadCount = crawlerProperties.getProperty(
|
||||
Constants.CRAWLING_THREAD_COUNT_PROPERTY, "5");
|
||||
crawlForm.mobileTranscoder = crawlerProperties.getProperty(
|
||||
|
@ -155,8 +152,6 @@ public class CrawlAction implements Serializable {
|
|||
: Constants.FALSE);
|
||||
crawlerProperties.setProperty(Constants.DAY_FOR_CLEANUP_PROPERTY,
|
||||
crawlForm.dayForCleanup);
|
||||
crawlerProperties.setProperty(Constants.COMMIT_PER_COUNT_PROPERTY,
|
||||
crawlForm.commitPerCount);
|
||||
crawlerProperties.setProperty(Constants.CRAWLING_THREAD_COUNT_PROPERTY,
|
||||
crawlForm.crawlingThreadCount);
|
||||
crawlerProperties.setProperty(Constants.MOBILE_TRANSCODER_PROPERTY,
|
||||
|
|
|
@ -40,10 +40,6 @@ public class CrawlForm implements Serializable {
|
|||
@IntRange(min = -1, max = 1000)
|
||||
public String dayForCleanup;
|
||||
|
||||
@Required
|
||||
@LongRange(min = 0, max = Long.MAX_VALUE)
|
||||
public String commitPerCount;
|
||||
|
||||
@Required
|
||||
@LongRange(min = 0, max = 100)
|
||||
public String crawlingThreadCount;
|
||||
|
|
|
@ -181,14 +181,6 @@
|
|||
<html:checkbox property="serverRotation"/><bean:message key="labels.enabled"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<bean:message key="labels.commit_per_count"/>
|
||||
</th>
|
||||
<td>
|
||||
<html:text property="commitPerCount" styleClass="small"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<bean:message key="labels.crawling_thread_count"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue