feat: refactor the builds worker

This commit is contained in:
Christy Jacob
2022-01-25 23:31:42 +04:00
parent a0296d6346
commit 92706045ad
+1 -1
View File
@@ -88,7 +88,7 @@ class BuildsV1 extends Worker
protected function triggerCreateRuntimeServer(string $projectId, string $functionId, string $tagId)
{
$ch = \curl_init();
\curl_setopt($ch, CURLOPT_URL, "http://appwrite-executor:8080/v1/executor/runtime");
\curl_setopt($ch, CURLOPT_URL, "http://appwrite-executor/v1/executor/runtime");
\curl_setopt($ch, CURLOPT_POST, true);
\curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
\curl_setopt($ch, CURLOPT_TIMEOUT, 900);