1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 14:41:08 +00:00

Reduced log delete batch size

This commit is contained in:
M66B 2021-02-26 15:51:20 +01:00
parent 2d1def0c19
commit 1ce2092d7a

View file

@ -46,7 +46,7 @@ public class EntityLog {
private static final long LOG_CLEANUP_INTERVAL = 3600 * 1000L; // milliseconds
private static final long LOG_KEEP_DURATION = 24 * 3600 * 1000L; // milliseconds
private static final int LOG_DELETE_BATCH_SIZE = 100;
private static final int LOG_DELETE_BATCH_SIZE = 50;
@PrimaryKey(autoGenerate = true)
public Long id;