mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-04-27 03:04:28 -05:00
Reduce timeout to 1s
This commit is contained in:
parent
da7bca0224
commit
0b3a264648
|
@ -372,7 +372,7 @@ func (u *DeviceListUpdater) notifyWorkers(userID string) {
|
|||
u.workerChans[index] <- remoteServer
|
||||
select {
|
||||
case <-ch:
|
||||
case <-time.After(10 * time.Second):
|
||||
case <-time.After(1 * time.Second):
|
||||
// we don't return an error in this case as it's not a failure condition.
|
||||
// we mainly block for the benefit of sytest anyway
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue