Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

device lists: backoff for longer if the wrong error type is returned #1796

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions keyserver/internal/device_list_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ func (u *DeviceListUpdater) processServer(serverName gomatrixserverlib.ServerNam
} else if fcerr.Blacklisted {
waitTime = time.Hour * 8
}
} else {
waitTime = time.Hour
logger.WithError(err).Warn("GetUserDevices returned unknown error type")
}
hasFailures = true
continue
Expand Down