Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Nov 22, 2023
1 parent 3386d31 commit f358965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactor-pool/src/main/java/reactor/pool/AbstractPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Context currentContext() {
public void run() {
if (Borrower.this.compareAndSet(false, true)) {
// this is failure, a timeout was observed
pool.metricsRecorder.recordPendingFailureAndLatency(pool.clock.millis() - pendingAcquireStart);
stopPendingCountdown(false);
pool.cancelAcquire(Borrower.this);
actual.onError(new PoolAcquireTimeoutException(pendingAcquireTimeout));
}
Expand Down

0 comments on commit f358965

Please sign in to comment.