Maximum 25 notification per group

This commit is contained in:
M66B 2020-01-04 20:13:20 +01:00
parent a777a4391b
commit 871776621a
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ import static androidx.core.app.NotificationCompat.DEFAULT_SOUND;
import static javax.mail.Folder.READ_WRITE; import static javax.mail.Folder.READ_WRITE;
class Core { 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 long AFTER_SEND_DELAY = 15 * 1000L; // milliseconds
private static final int SYNC_CHUNCK_SIZE = 200; private static final int SYNC_CHUNCK_SIZE = 200;
private static final int SYNC_BATCH_SIZE = 20; private static final int SYNC_BATCH_SIZE = 20;