1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Reduced conversation actions timeout

This commit is contained in:
M66B 2023-09-15 19:58:56 +02:00
parent b31c218d42
commit b480815363

View file

@ -65,7 +65,7 @@ public class TextHelper {
private static final float MIN_DETECT_PROBABILITY = 0.80f;
private static final String TRANSLITERATOR = "Any-Latin; Latin-ASCII";
private static final int MAX_CONVERSATION_SAMPLE_SIZE = 8192;
private static final long MAX_CONVERSATION_DURATION = 3000; // milliseconds
private static final long MAX_CONVERSATION_DURATION = 2500; // milliseconds
private static final ExecutorService executor =
Helper.getBackgroundExecutor(1, "text");