Skip to content

Commit

Permalink
Merge pull request #20 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
fix concurrent count
  • Loading branch information
Ali-YousefiTelori authored Feb 18, 2024
2 parents f73e407 + 01d952e commit 2cfbadb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public async Task ConcurrentCheckSimpleRequestAndResponse(string request, string
var port = await GetHandler(resourceManager).Start();

List<Task<bool>> all = new List<Task<bool>>();
for (int i = 0; i < 10; i++)
for (int i = 0; i < 3; i++)
{
all.Add(Task.Run(async () =>
{
Expand Down Expand Up @@ -115,7 +115,7 @@ public async Task ConcurrentSingleHttpClientCheckSimpleRequestAndResponse(string
HttpClient httpClient = GetHttpClient();

List<Task<bool>> all = new List<Task<bool>>();
for (int i = 0; i < 5; i++)
for (int i = 0; i < 3; i++)
{
all.Add(Task.Run(async () =>
{
Expand Down

0 comments on commit 2cfbadb

Please sign in to comment.