Match number of servers started

This commit is contained in:
Zach Borboa
2021-03-28 23:44:25 -04:00
parent 3a095e7780
commit 64df98c50f
2 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -3,12 +3,12 @@ require __DIR__ . '/../vendor/autoload.php';
use Curl\MultiCurl;
$server_count = 5;
$server_count = 7;
$urls = [];
$port = 8000;
for ($i = 0; $i < $server_count; $i++) {
$port += 1;
$urls[] = 'http://localhost:' . $port . '/';
$port += 1;
}
$multi_curl = new MultiCurl();