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

refactor: MsgId::update_download_state: Don't fail if the message doesn't exist anymore #6032

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Oct 7, 2024

If a race happens and the message disappears, there's just nothing to do and no sense to fail. Follow-up to 22e5bf8.

This is refactor because such a race is unlikely.

@iequidoo
Copy link
Collaborator Author

iequidoo commented Oct 8, 2024

There's no test in 22e5bf8, but here a test is desirable because update_download_state() has nothing to do with IMAP. EDIT: Done.

…sn't exist anymore

If a race happens and the message disappears, there's just nothing to do and no sense to
fail. Follow-up to 22e5bf8.
@iequidoo iequidoo force-pushed the iequidoo/MsgId.update_download_state branch from 877211b to 4d9a144 Compare October 8, 2024 00:12
@iequidoo iequidoo marked this pull request as ready for review October 8, 2024 00:16
@iequidoo iequidoo merged commit 8acf391 into main Oct 8, 2024
37 checks passed
@iequidoo iequidoo deleted the iequidoo/MsgId.update_download_state branch October 8, 2024 15:31
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