Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosaavedra-rappi committed May 6, 2024
1 parent 3527436 commit 635cc01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public <R> Future<R> schedule(ContextInternal context, CommandBase<R> cmd) {
//Acquires the connection honoring the pool's connection timeout
acquire(context, connectionTimeout, promise);
return promise.future().compose(pooled -> {
//We need to 'init' the connection of close will fail.
//We need to 'init' the connection or close will fail.
pooled.init(pooled);
return pooled.schedule(context, cmd)
.eventually(v -> {
Expand Down

0 comments on commit 635cc01

Please sign in to comment.