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

Return node data from controller as first priority. #548

Merged
merged 7 commits into from
Sep 14, 2024
Merged

Return node data from controller as first priority. #548

merged 7 commits into from
Sep 14, 2024

Conversation

sinamics
Copy link
Owner

When a new node joins a network, it won't appear in the database until a user opens the network or the background task processes network members.
Previously, when accessing a member API endpoint, the data was fetched only from the database.

Changed the API endpoints to return member data from the controller as first priority, if data exist in db this will be merged into the same response.

Resolves #539

@github-actions github-actions bot added the ztnet Main Application label Sep 14, 2024
@sinamics sinamics merged commit 5fd0bee into main Sep 14, 2024
3 checks passed
@sinamics sinamics deleted the api branch September 14, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ztnet Main Application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Recently joined Members missing in Network-Members API
1 participant