Skip to content

Commit ab4622c

Browse files
authored
CLDR-15646 Priority Items Summary, disable All Locales for snapshots (#2175)
-New ENABLE_ALL_LOCALE_SUMMARY = false -Memory/performance problems were observed on smoketest
1 parent 41ecc9b commit ab4622c

File tree

1 file changed

+7
-2
lines changed
  • tools/cldr-apps/src/main/java/org/unicode/cldr/web/api

1 file changed

+7
-2
lines changed

tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/Summary.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,14 @@ public void run() {
328328
}
329329
}
330330

331+
private static final boolean ENABLE_ALL_LOCALE_SUMMARY = false;
332+
331333
private void makeAutoPriorityItemsSnapshot() throws IOException, JSONException {
332-
final SurveyMain.Phase phase = SurveyMain.phase();
333-
final boolean summarizeAllLocales = (phase == SurveyMain.Phase.VETTING || phase == SurveyMain.Phase.VETTING_CLOSED);
334+
boolean summarizeAllLocales = false;
335+
if (ENABLE_ALL_LOCALE_SUMMARY) {
336+
final SurveyMain.Phase phase = SurveyMain.phase();
337+
summarizeAllLocales = (phase == SurveyMain.Phase.VETTING || phase == SurveyMain.Phase.VETTING_CLOSED);
338+
}
334339
final VettingViewerQueue vvq = VettingViewerQueue.getInstance();
335340
vvq.setSummarizeAllLocales(summarizeAllLocales);
336341
final QueueMemberId qmi = new QueueMemberId();

0 commit comments

Comments
 (0)