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: Mark config and storage saving as synchronized [skip ci] #3062

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

kristofbolyai
Copy link
Member

While looking into storage files not being written, this is a race I could think of. I honestly don't think this causes the infrequent issue of long storage files cutting off, but from everything I can see, we correctly open, flush and close streams.

While looking into storage files not being written, this is a race I could think of. I honestly don't think this causes the infrequent issue of long storage files cutting off, but from everything I can see, we correctly open, flush and close streams.
Copy link
Member

@ShadowCat117 ShadowCat117 left a comment

Choose a reason for hiding this comment

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

Hopefully this one will be the fix :D

Something I did mention on Discord was maybe we should store crowd sourcing in their own files instead of in storage so even if this doesn't solve it at least that wouldn't be affecting anything "important" if it failed to save properly. That'll take more work though so we'll just hope this works for now

@kristofbolyai kristofbolyai merged commit 6ebd0bc into main Jan 5, 2025
1 check passed
@kristofbolyai kristofbolyai deleted the sync-write branch January 5, 2025 15:10
frodakcin pushed a commit to frodakcin/Wynntils that referenced this pull request Jan 10, 2025
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