diff --git a/app/http.php b/app/http.php index 4d5718e94b..12554aa3a7 100644 --- a/app/http.php +++ b/app/http.php @@ -32,7 +32,7 @@ $http = new Server( mode: SWOOLE_PROCESS, ); -$payloadSize = 10 * (1024 * 1024); // 10MB +$payloadSize = 11 * (1024 * 1024); // 11MB $workerNumber = swoole_cpu_num() * intval(System::getEnv('_APP_WORKER_PER_CORE', 6)); $http diff --git a/tests/e2e/Services/Storage/StorageBase.php b/tests/e2e/Services/Storage/StorageBase.php index 78548ca1ac..ce5f44d5a0 100644 --- a/tests/e2e/Services/Storage/StorageBase.php +++ b/tests/e2e/Services/Storage/StorageBase.php @@ -125,11 +125,11 @@ trait StorageBase /** * Failure - * Test for Chunk above 5MB + * Test for Chunk above 10MB */ $source = __DIR__ . "/../../../resources/disk-a/large-file.mp4"; $totalSize = \filesize($source); - $chunkSize = 6 * 1024 * 1024; + $chunkSize = 11 * 1024 * 1024; $handle = @fopen($source, "rb"); $fileId = 'unique()'; $mimeType = mime_content_type($source);