Skip to content

Immediately fetch after EXISTS response #3783

@Hocuri

Description

@Hocuri

Currently, after the server sends an EXISTS response, we do all kinds of things before we fetch the newly-arrived message. This leads to increased answer times.

We should:

  • remove the remaining jobs
  • move housekeeping to a separate loop
  • call store_seen_flags_on_imap() after fetching (currently we are calling it before)

#3240 was a draft PR that would have achieved the same goal in a different manner (and would have introduced new complexity).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions