Merge pull request #10767 from appwrite/fix-tanstack-builds

Fix: tanstack builds crashing
This commit is contained in:
Matej Bačo 2025-11-05 13:28:08 +01:00 committed by GitHub
commit b3f9404b93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -589,7 +589,10 @@ class Builds extends Action
// Some runtimes/frameworks can't compile with less memory than this
$minMemory = $resource->getCollection() === 'sites' ? 2048 : 1024;
if ($resource->getAttribute('framework', '') === 'analog') {
if (
$resource->getAttribute('framework', '') === 'analog' ||
$resource->getAttribute('framework', '') === 'tanstack-start'
) {
$minMemory = 4096;
}