device lists: backoff for longer if the wrong error type is returned
MODIFY
keyserver/internal/device_list_update.go
keyserver/internal/device_list_update.go
@@ -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

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