Skip to content

Commit

Permalink
Use the correct middleware in the UseTimeout extension method (#7136)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Jun 3, 2024
1 parent 0dfde76 commit 5843a9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static IRequestExecutorBuilder UseExceptions(

public static IRequestExecutorBuilder UseTimeout(
this IRequestExecutorBuilder builder) =>
builder.UseRequest(DocumentParserMiddleware.Create());
builder.UseRequest(TimeoutMiddleware.Create());

public static IRequestExecutorBuilder UseInstrumentation(
this IRequestExecutorBuilder builder) =>
Expand Down

0 comments on commit 5843a9f

Please sign in to comment.