Make database cleaning batch size configurable

This commit is contained in:
D. Can Celasun
2023-07-11 14:21:59 +01:00
committed by Athou
parent 1af3dd452c
commit 6ce6b5ef0e
5 changed files with 30 additions and 8 deletions

View File

@@ -135,6 +135,11 @@ public class CommaFeedConfiguration extends Configuration {
@Valid
private Integer maxFeedCapacity;
@NotNull
@Min(100)
@Valid
private Integer maxCleanupBatchSize;
@NotNull
@Valid
private Integer maxFeedsPerUser = 0;