From c1b7b6cd0d2fd1f8be6f5918f968e586f72edc20 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Fri, 18 Aug 2023 12:44:13 +0530 Subject: [PATCH] Update limits --- .github/workflows/tests.yml | 2 +- app/controllers/api/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 605770d489..8fb3ac3518 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: - name: Start Appwrite run: | docker compose up -d - sleep 60 + sleep 30 - name: Doctor run: | diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index c100bf0182..16bd9cc974 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -142,7 +142,7 @@ App::post('/v1/functions') ->param('enabled', true, new Boolean(), 'Is function enabled?', true) ->param('logging', true, new Boolean(), 'Do executions get logged?', true) ->param('entrypoint', '', new Text(1028), 'Entrypoint File.') - ->param('commands', '', new Text(1028, 0), 'Build Commands.', true) + ->param('commands', '', new Text(8192, 0), 'Build Commands.', true) ->param('installationId', '', new Text(128, 0), 'Appwrite Installation ID for vcs deployment.', true) ->param('providerRepositoryId', '', new Text(128, 0), 'Repository ID of the repo linked to the function', true) ->param('providerBranch', '', new Text(128, 0), 'Production branch for the repo linked to the function', true) @@ -614,7 +614,7 @@ App::put('/v1/functions/:functionId') ->param('enabled', true, new Boolean(), 'Is function enabled?', true) ->param('logging', true, new Boolean(), 'Do executions get logged?', true) ->param('entrypoint', '', new Text(1028), 'Entrypoint File.') - ->param('commands', '', new Text(1028, 0), 'Build Commands.', true) + ->param('commands', '', new Text(8192, 0), 'Build Commands.', true) ->param('installationId', '', new Text(128, 0), 'Appwrite Installation ID for vcs deployment.', true) ->param('providerRepositoryId', '', new Text(128, 0), 'Repository ID of the repo linked to the function', true) ->param('providerBranch', '', new Text(128, 0), 'Production branch for the repo linked to the function', true)