fix(GODT-2327): Don't retry with abortable context because it's canceled

This commit is contained in:
James Houlahan
2023-02-06 16:58:01 +01:00
committed by Jakub
parent 0a8e71771e
commit 9c6be78b4c
2 changed files with 2 additions and 10 deletions

View File

@ -140,7 +140,7 @@ func (bridge *Bridge) addIMAPUser(ctx context.Context, user *user.User) error {
if err := user.ClearSyncStatus(); err != nil {
return fmt.Errorf("failed to clear sync status: %w", err)
}
// Add the user back to the IMAP server.
if isNew, err := bridge.imapServer.LoadUser(ctx, imapConn, gluonID, user.GluonKey()); err != nil {
return fmt.Errorf("failed to add IMAP user: %w", err)