Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr committed Oct 9, 2024
1 parent c3e439f commit 2a66bb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal static async Task Run(TaskPipeline pipeline, HttpContext context)

////await using var textWriter = new StreamWriter(responseBody.Stream, Encoding.UTF8);
await Run(pipeline, responseBody.Writer, context.RequestServices, ct);

await responseBody.CompleteAsync();
}

Expand Down Expand Up @@ -72,10 +72,9 @@ internal static async Task<TaskPipelineResult> Run(TaskPipeline pipeline, WebSoc
reader.AdvanceTo(buffer.End);
}
while (!result.IsCompleted);
},
},
ct);

AggregateException? ex = null;
try
{
return await Run(pipeline, writer, services, ct);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@

app.UseWebSockets();

app.MapTaskPipeline<BootstrapDatabasePipeline>("/api/v1/database/bootstrap");
app.MapTaskPipeline<BootstrapDatabasePipeline>("/deployapi/api/v1/database/bootstrap");

app.Run();

0 comments on commit 2a66bb6

Please sign in to comment.