-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
[CP][iOS] increase max concurrent background tasks to 64. #164506
[CP][iOS] increase max concurrent background tasks to 64. #164506
Conversation
Partial workaround for flutter#161142 . Since this was an arbitrary number anyway we can increase it a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; still working on the hotfix so I think we merge this after?
@@ -57,7 +57,7 @@ class Context { | |||
/// This number was arbitrarily chosen. The idea is that this is a somewhat | |||
/// rare situation where tasks happen to get executed in that tiny amount of | |||
/// time while an app is being backgrounded but still executing. | |||
static constexpr int32_t kMaxTasksAwaitingGPU = 10; | |||
static constexpr int32_t kMaxTasksAwaitingGPU = 64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a test as part of another pr for this? Or is this fix something that is not testable?
I will also take @jtmcdole override that we need a test. |
It's a magic number. I don't believe there's value in writing a test for the cherry pick. I'll ask if we can add something later to only passes if this was set to 64 (e.g. creating a bunch of images) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can apply autosubmit after the changelog is updated. I would do it now but I would prefer a review on what I wrote.
autosubmit label was removed for flutter/flutter/164506, because - The status or check suite Mac tool_integration_tests_1_5 has failed. Please fix the issues identified (or deflake) before re-applying this label. |
autosubmit label was removed for flutter/flutter/164506, because Pull request flutter/flutter/164506 is not in a mergeable state. |
9999151
into
flutter:flutter-3.29-candidate.0
Fixes #161142