ProtonMail / gluon

An IMAP server library written in Go
MIT License
455 stars 27 forks source link

fix(GODT-2454): Only apply state updates if db transactions succeed #354

Closed LBeernaertProton closed 1 year ago

LBeernaertProton commented 1 year ago

Ensure that all changes to the DB are made before publishing state updates for connected sessions. This improves stability of the connected clients.

The states still require another transaction to be applied. However, this is currently only related to the handling of the recent flag. This will be handled in GODT-2522 instead.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.17.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: