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

Disabled cache use on discovery modes #201

Merged
merged 3 commits into from
Feb 11, 2024

Conversation

mennolodder
Copy link
Contributor

@mennolodder mennolodder commented Jan 19, 2024

This should close #195

For me without the Large motor fix in the other PR, this will actually make discovery and device list work. This should not affect normal operation.

#195 non-breaking

@@ -84,6 +87,11 @@ public async Task SendMessageAsync(LegoWirelessMessage message)
throw;
}
}

private bool UseCachedInformation()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only feedback here: Why using a method here instead of a property?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, habit I guess :)

@tthiery tthiery merged commit 6783a05 into sharpbrick:master Feb 11, 2024
1 check passed
@tthiery
Copy link
Member

tthiery commented Feb 11, 2024

Thanks a lot for this one 👏

@tthiery tthiery added this to the v5.0 (breaking) milestone Feb 11, 2024
@tthiery tthiery added bug Something isn't working area-functions area-cli labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-cli area-functions bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Device discovery still uses static port information
2 participants