add setting to delete old entries

This commit is contained in:
Athou
2024-01-07 20:43:19 +01:00
parent 039e91414e
commit 1292018de0
13 changed files with 104 additions and 7 deletions

View File

@@ -146,6 +146,11 @@ public class CommaFeedConfiguration extends Configuration implements WebsocketBu
@Valid
private Integer maxFeedCapacity;
@NotNull
@Min(0)
@Valid
private Integer maxEntriesAgeDays = 0;
@NotNull
@Valid
private Integer maxFeedsPerUser = 0;