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

Fix watch replay button sometimes not loading the replay on first click #30895

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peppy
Copy link
Member

@peppy peppy commented Nov 27, 2024

Closes #28497.

Note that this will force a refresh delay in the previous fail case, via

perform(r.FindWithRefresh<T>(ID)!);
RealmLiveStatistics.USAGE_ASYNC.Value++;

This is intentional – refresh is sometimes required and using RealmLive ensures it happens if and only if required. The blocking operation time is reduced drastically with #30893 to the point that makes it hard to trigger this bug anymore with the provided database.

This also optimises the manager classes to better support `Live` usage
where the managed object is already in a good state (ie. doesn't require
re-fetching).
@peppy peppy added the realm deals with local realm database label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
realm deals with local realm database size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Watch Replay" button after fail turns green before it's ready
1 participant