mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-11 08:03:09 -06:00
Don't de-mutex the already de-mutexed mutex
This commit is contained in:
parent
d0d6740c92
commit
ca5ab1b97b
|
|
@ -363,7 +363,6 @@ func (u *DeviceListUpdater) worker(ch chan gomatrixserverlib.ServerName) {
|
|||
// Don't retry a server that we're already waiting for.
|
||||
continue
|
||||
}
|
||||
retriesMu.Unlock()
|
||||
waitTime, shouldRetry := u.processServer(serverName)
|
||||
if shouldRetry {
|
||||
retriesMu.Lock()
|
||||
|
|
|
|||
Loading…
Reference in a new issue