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

@@ -67,6 +67,9 @@ app:
# entries to keep per feed, old entries will be deleted, 0 to disable
maxFeedCapacity: 500
# rows to delete per query while cleaning up old entries, minimum 100
maxCleanupBatchSize: 100
# limit the number of feeds a user can subscribe to, 0 to disable
maxFeedsPerUser: 0