mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update defaults, Switch to integer
This commit is contained in:
@@ -66,8 +66,8 @@ _APP_STORAGE_PREVIEW_LIMIT=20000000
|
||||
_APP_FUNCTIONS_SIZE_LIMIT=30000000
|
||||
_APP_FUNCTIONS_TIMEOUT=900
|
||||
_APP_FUNCTIONS_BUILD_TIMEOUT=900
|
||||
_APP_FUNCTIONS_CPUS=1
|
||||
_APP_FUNCTIONS_MEMORY=1024
|
||||
_APP_FUNCTIONS_CPUS=8
|
||||
_APP_FUNCTIONS_MEMORY=16384
|
||||
_APP_FUNCTIONS_INACTIVE_THRESHOLD=600
|
||||
_APP_FUNCTIONS_MAINTENANCE_INTERVAL=600
|
||||
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
|
||||
|
||||
@@ -11,14 +11,14 @@ class Specs extends Model
|
||||
{
|
||||
$this
|
||||
->addRule('cpus', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Amount of CPU cores available.',
|
||||
'default' => '',
|
||||
'example' => [1, 2, 4, 8],
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('memory', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Amount of memory available in MB.',
|
||||
'default' => '',
|
||||
'example' => [512, 1024, 2048, 4096, 8192, 16384],
|
||||
|
||||
Reference in New Issue
Block a user