[iOS] increase backdrop cached task limit. (#164036)

Partial workaround for https://github.com/flutter/flutter/issues/161142
. Since this was an arbitrary number anyway we can increase it a bit.
This commit is contained in:
Jonah Williams 2025-02-25 07:41:47 -08:00 committed by GitHub
parent 5a8f23c3dc
commit 73b518d0c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
//----------------------------------------------------------------------------
/// @brief Destroys an Impeller context.