Decrease Generate Suggestion Debounce Delay to 500ms To have smoother experience. I checked data and we can query more often. Release-Notes: skip Google-Bug-Id: b/330832131 Change-Id: I8b01df9220b7e00f26b127447bdc60a1db20b423
diff --git a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts index 9ac1879..16a783c 100644 --- a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts +++ b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts
@@ -90,7 +90,7 @@ // visible for testing export const AUTO_SAVE_DEBOUNCE_DELAY_MS = 2000; -export const GENERATE_SUGGESTION_DEBOUNCE_DELAY_MS = 1500; +export const GENERATE_SUGGESTION_DEBOUNCE_DELAY_MS = 500; export const ENABLE_GENERATE_SUGGESTION_STORAGE_KEY = 'enableGenerateSuggestionStorageKeyForCommentWithId-';