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
merged 1 commit into from
Dec 17, 2024
Merged

fix: do not instantiate dbreader on each call #391

merged 1 commit into from
Dec 17, 2024

Conversation

yrobla
Copy link
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
3 checks passed
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