1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00

Remove other utf8_encode

This commit is contained in:
Bradley Schofield 2022-05-05 10:01:08 +01:00 committed by GitHub
parent e694eb3b5c
commit 228e6a1b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();