mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
cache config
This commit is contained in:
@@ -18,6 +18,10 @@ import com.google.common.cache.CacheBuilderSpec;
|
||||
@Getter
|
||||
public class CommaFeedConfiguration extends Configuration {
|
||||
|
||||
public static enum CacheType {
|
||||
NOOP, REDIS
|
||||
}
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty("database")
|
||||
@@ -92,6 +96,9 @@ public class CommaFeedConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private int refreshIntervalMinutes;
|
||||
|
||||
@JsonProperty
|
||||
private CacheType cache;
|
||||
|
||||
@JsonProperty
|
||||
private String announcement;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user