Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase translate init timeout more (uplift to 1.44.x) #14774

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 34974e0bf54b5210faf8b16fc764657f9b55221e..5455604f53bb44f88e357797078e4b59
// The maximum number of times we'll check to see if the translate library
// injected in the page is ready.
-const int kMaxTranslateInitCheckAttempts = 5;
+const int kMaxTranslateInitCheckAttempts = 8;
+const int kMaxTranslateInitCheckAttempts = 11;

// The delay we wait in milliseconds before checking whether the translation has
// finished.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index ef6beefc0b9c9907a899ccc3016c4e5a2f801d1e..697545d62c9fbe321f3d49e2bc6b2fd5
// The maximum number of times we'll check to see if the translate library
// injected in the page is ready.
-const int kMaxTranslateInitCheckAttempts = 5;
+const int kMaxTranslateInitCheckAttempts = 8;
+const int kMaxTranslateInitCheckAttempts = 11;

// The delay we wait in milliseconds before checking whether the translation has
// finished.