From 871776621af74d44ec7e66fc73be0583c35cf09a Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 4 Jan 2020 20:13:20 +0100 Subject: [PATCH] Maximum 25 notification per group --- app/src/main/java/eu/faircode/email/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index c714227ad7..5a544ea152 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -115,7 +115,7 @@ import static androidx.core.app.NotificationCompat.DEFAULT_SOUND; import static javax.mail.Folder.READ_WRITE; class Core { - private static final int MAX_NOTIFICATION_COUNT = 100; // per group + private static final int MAX_NOTIFICATION_COUNT = 25; // per group private static final long AFTER_SEND_DELAY = 15 * 1000L; // milliseconds private static final int SYNC_CHUNCK_SIZE = 200; private static final int SYNC_BATCH_SIZE = 20;