Update executor.php

This commit is contained in:
Bradley Schofield
2021-09-24 11:53:04 +01:00
parent e4a8f96ce5
commit 23355cd681
+2 -2
View File
@@ -72,7 +72,7 @@ $activeFunctions = new Swoole\Table(1024);
$activeFunctions->column('id', Swoole\Table::TYPE_STRING, 512);
$activeFunctions->column('name', Swoole\Table::TYPE_STRING, 512);
$activeFunctions->column('status', Swoole\Table::TYPE_STRING, 512);
$activeFunctions->column('private-key', Swoole\Table::TYPE_STRING, 4096);
$activeFunctions->column('key', Swoole\Table::TYPE_STRING, 4096);
$activeFunctions->create();
@@ -622,7 +622,7 @@ function createRuntimeServer(string $functionId, string $projectId, Document $ta
'id' => $id,
'name' => $container,
'status' => 'Up ' . \round($executionEnd - $executionStart, 2) . 's',
'private-key' => $privateKey,
'key' => $secret,
]);
Console::info('Runtime Server created in ' . ($executionEnd - $executionStart) . ' seconds');