From 1ce2092d7acb814d82c7d7183a4506a0219c4d46 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 26 Feb 2021 15:51:20 +0100 Subject: [PATCH] Reduced log delete batch size --- app/src/main/java/eu/faircode/email/EntityLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EntityLog.java b/app/src/main/java/eu/faircode/email/EntityLog.java index 6f26b5f549..69cdeaf50b 100644 --- a/app/src/main/java/eu/faircode/email/EntityLog.java +++ b/app/src/main/java/eu/faircode/email/EntityLog.java @@ -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;