1
0
Fork 0
mirror of synced 2024-09-28 23:41:23 +12:00

Update src/Appwrite/Platform/Workers/Builds.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Bradley Schofield 2024-08-08 11:28:03 +09:00 committed by GitHub
parent 948fbc0916
commit 078b159942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,9 +404,6 @@ class Builds extends Action
$cpus = $spec['cpus'] ?? APP_FUNCTION_BASE_SPECIFICATION_CPUS;
$memory = max($spec['memory'] ?? APP_FUNCTION_BASE_SPECIFICATION_MEMORY, 1024);
if ($memory < 1024) {
$memory = 1024;
}
// Appwrite vars
$vars = \array_merge($vars, [