mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
setting to pause feed crawling
This commit is contained in:
@@ -34,6 +34,7 @@ public class ApplicationSettings extends AbstractModel {
|
||||
private String logLevel = Level.INFO.toString();
|
||||
private boolean imageProxyEnabled;
|
||||
private int queryTimeout;
|
||||
private boolean crawlingPaused;
|
||||
|
||||
@Column(length = 255)
|
||||
private String announcement;
|
||||
@@ -191,4 +192,12 @@ public class ApplicationSettings extends AbstractModel {
|
||||
this.queryTimeout = queryTimeout;
|
||||
}
|
||||
|
||||
public boolean isCrawlingPaused() {
|
||||
return crawlingPaused;
|
||||
}
|
||||
|
||||
public void setCrawlingPaused(boolean crawlingPaused) {
|
||||
this.crawlingPaused = crawlingPaused;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user