Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataSource initialization shuold be lazy #3141

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Conversation

deusaquilus
Copy link
Collaborator

DataSource should not immediately be created when a context is initialized, it should wait for the first DB command invocation.
As a consequence of this, doing only a single invocation of translate should not fail due to no DB connection.

@deusaquilus deusaquilus reopened this Nov 25, 2024
@deusaquilus deusaquilus merged commit ee30130 into master Nov 25, 2024
24 checks passed
@deusaquilus deusaquilus deleted the more_lazy_contexts branch November 25, 2024 15:12
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