8000 misc(wallet): Reduce number of queries to flag refresh by vincent-pochet · Pull Request #3311 · getlago/lago-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

misc(wallet): Reduce number of queries to flag refresh #3311

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

vincent-pochet
Copy link
Collaborator

Context

Today, flagging a wallet for refresh leads to two queries (one to check the presence of active wallet, one to flag the wallets), when only one is necessary.

Description

This PR removes the check of active wallets as the update query will simply do nothing if no active wallets exists.

@vincent-pochet vincent-pochet merged commit 100c211 into main Mar 10, 2025
6 checks passed
@vincent-pochet vincent-pochet deleted the misc-wallet-refresh branch March 10, 2025 14:54
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.

2 participants
0