Skip to content

Commit 329c027

Browse files
committed
oops
1 parent ac4ef0f commit 329c027

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

LoadTester/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
var minSecsBetweenStarts = 0.01;
3030
var tasks = clients
3131
.Select((o, i) => new { Index = i, Client = o })
32-
.Select(item => item.Client.StartTraining(numDays: 5, pauseFactor: 0.1f, initialPause: TimeSpan.FromSeconds(minSecsBetweenStarts * (rnd.NextDouble() + item.Index)))
32+
.Select(item => item.Client.StartTraining(numDays: 5, pauseFactor: 0.1f, initialPause: TimeSpan.FromSeconds(minSecsBetweenStarts * (rnd.NextDouble() + item.Index))))
3333
.ToList();
3434

3535
await Task.WhenAll(tasks);

ProblemSource/TrainingApi/Startup.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
101101
// Configure the HTTP request pipeline.
102102
if (env.IsDevelopment())
103103
{
104-
//app.UseSwagger();
105-
//app.UseSwaggerUI();
106104
app.UseOpenApi();
107105
app.UseSwaggerUi();
108106

0 commit comments

Comments
 (0)