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)