Remove other utf8_encode
This commit is contained in:
parent
e694eb3b5c
commit
228e6a1b6c
1 changed files with 3 additions and 3 deletions
|
@ -283,8 +283,8 @@ App::post('/v1/runtimes')
|
|||
$endTime = \time();
|
||||
$container = array_merge($container, [
|
||||
'status' => 'ready',
|
||||
'stdout' => \mb_strcut(\utf8_encode($stdout), 0, 1000000), // Limit to 1MB
|
||||
'stderr' => \mb_strcut(\utf8_encode($stderr), 0, 1000000), // Limit to 1MB
|
||||
'stdout' => \mb_strcut($stdout, 0, 1000000), // Limit to 1MB
|
||||
'stderr' => \mb_strcut($stderr, 0, 1000000), // Limit to 1MB
|
||||
'startTime' => $startTime,
|
||||
'endTime' => $endTime,
|
||||
'duration' => $endTime - $startTime,
|
||||
|
@ -722,4 +722,4 @@ $http->on('request', function (SwooleRequest $swooleRequest, SwooleResponse $swo
|
|||
}
|
||||
});
|
||||
|
||||
$http->start();
|
||||
$http->start();
|
||||
|
|
Loading…
Reference in a new issue