Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The backward compatibility promise has the following exceptions:
* Units of code that are annotated with `@internal`.

## [Unreleased]
### Fixed
- Add a retry delay to a Pool connection when `useTube()` fails.

## [3.0.1] - 2023-10-14
### Changed
Expand Down
4 changes: 3 additions & 1 deletion src/Pool/ManagedConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public function disconnect(): bool

public function useTube(string $tube): void
{
$this->connection->useTube($tube);
$this->tryCommand(
fn() => $this->connection->useTube($tube)
);
}

public function put(
Expand Down