diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 9eed692fc5..f1bb2cd6be 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -641,7 +641,6 @@ App::post('/v1/functions/:functionId/executions') throw new Exception('Failed saving execution to DB', 500); } - // Issue a TLS certificate when domain is verified Resque::enqueue('v1-functions', 'FunctionsV1', [ 'projectId' => $project->getId(), 'functionId' => $function->getId(), diff --git a/app/workers/functions.php b/app/workers/functions.php index 22bc197778..c09f85fd1f 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -378,7 +378,7 @@ class FunctionsV1 $exitCode = Console::execute("docker run \ -d \ --entrypoint=\"\" \ - --cpus=4 \ + --cpus=1 \ --memory=128m \ --memory-swap=128m \ --rm \ @@ -408,8 +408,6 @@ class FunctionsV1 ], ]; - var_dump($list); - Console::info("Function created in " . ($executionEnd - $executionStart) . " seconds with exit code {$exitCode}"); } else { diff --git a/tests/resources/functions/php-fx.gz b/tests/resources/functions/php-fx.gz deleted file mode 100644 index f8e3cbd811..0000000000 Binary files a/tests/resources/functions/php-fx.gz and /dev/null differ