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 Jul 12, 2023
1 parent ffc21b5 commit a68b741
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 a68b741

Please sign in to comment.