mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
configurable feed refresh interval
This commit is contained in:
@@ -36,6 +36,7 @@ public class ApplicationSettings extends AbstractModel {
|
||||
private int queryTimeout;
|
||||
private boolean crawlingPaused;
|
||||
private int keepStatusDays = 0;
|
||||
private int refreshIntervalMinutes;
|
||||
|
||||
@Column(length = 255)
|
||||
private String announcement;
|
||||
@@ -210,4 +211,12 @@ public class ApplicationSettings extends AbstractModel {
|
||||
this.keepStatusDays = keepStatusDays;
|
||||
}
|
||||
|
||||
public int getRefreshIntervalMinutes() {
|
||||
return refreshIntervalMinutes;
|
||||
}
|
||||
|
||||
public void setRefreshIntervalMinutes(int refreshIntervalMinutes) {
|
||||
this.refreshIntervalMinutes = refreshIntervalMinutes;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user