Reduce the maximum number of versions in play to 1,000.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-08-03 15:42:15 -04:00
1 parent 40684a93a2
commit ad97731d46
2 files changed
+8 -8

No files matched your search

@@ -26,7 +26,7 @@ public class UserAgentTagUtil {
"desktop", Pattern.compile("^Signal Desktop (1[^ ]+).*$", Pattern.CASE_INSENSITIVE),
"ios", Pattern.compile("^Signal/(3[^ ]+) \\(.*ios.*\\)$", Pattern.CASE_INSENSITIVE));
static final int MAX_VERSIONS = 10_000;
static final int MAX_VERSIONS = 1_000;
private static final Set<Pair<String, String>> SEEN_VERSIONS = new HashSet<>();
private UserAgentTagUtil() {