mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
device lists: backoff for longer if the wrong error type is returned
This commit is contained in:
parent
e865a1507a
commit
78ef4e274e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue