Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

fix: do not instantiate dbreader on each call#391

Merged
yrobla merged 1 commit intomainfrom
issue-300
Dec 17, 2024
Merged

fix: do not instantiate dbreader on each call#391
yrobla merged 1 commit intomainfrom
issue-300

Conversation

@yrobla
Copy link
Copy Markdown
Contributor

@yrobla yrobla commented Dec 17, 2024

As we are adding dashboard calls, it uses a global dbreader that is loaded globally on each request. Instead, setup as a dependency so we avoid unnecessary calls

Closes: #300

As we are adding dashboard calls, it uses a global dbreader
that is loaded globally on each request. Instead, setup as
a dependency so we avoid unnecessary calls

Closes: #300
@yrobla yrobla merged commit 079518d into main Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't init db on all commands

2 participants