Skip to content

feat(connection): lazy connections - open on first access - #20

Merged
Headgent merged 1 commit into
developfrom
feature/261014_lazy-connection
Oct 14, 2026
Merged

Headgent merged 1 commit into
developfrom
feature/261014_lazy-connection

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

Automatisierter Update-Release. Zielversion: v1.3.0

ConnectionFactory::mysql()/postgres() no longer connect at creation.
PdoConnection::pdo() opens the connection on first use (Lazy
Initialization); isConnected() stays false until then. Connection errors
surface at first access with the same RuntimeException. An explicit
disconnect() is not reopened implicitly. ConnectionPool health checks
force the connection on first getWriter()/getReader().
@Headgent
Headgent merged commit 14d93ab into develop Oct 14, 2026
3 checks passed
@Headgent
Headgent deleted the feature/261014_lazy-connection branch October 14, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant