Skip to content

Commit

Permalink
update failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhee17 committed Dec 21, 2023
1 parent 2cdc080 commit 4923d45
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ private DefaultClientRequestContext(DefaultClientRequestContext ctx,
log.startRequest();
responseCancellationScheduler =
CancellationScheduler.of(TimeUnit.MILLISECONDS.toNanos(ctx.responseTimeoutMillis()));
updateEventLoop(ctx.eventLoop().withoutContext());
writeTimeoutMillis = ctx.writeTimeoutMillis();
maxResponseLength = ctx.maxResponseLength();

Expand All @@ -541,7 +540,7 @@ private DefaultClientRequestContext(DefaultClientRequestContext ctx,
// We don't need to acquire an EventLoop for the initial attempt because it's already acquired by
// the root context.
if (endpoint == null || ctx.endpoint() == endpoint && ctx.log.children().isEmpty()) {
eventLoop = ctx.eventLoop().withoutContext();
updateEventLoop(ctx.eventLoop().withoutContext());
} else {
acquireEventLoop(endpoint);
}
Expand Down

0 comments on commit 4923d45

Please sign in to comment.