mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
Make Sytest happy again
This commit is contained in:
parent
b82ac59cf0
commit
999463a80e
|
|
@ -420,7 +420,7 @@ func (u *DeviceListUpdater) worker(ch chan spec.ServerName, workerID int) {
|
|||
for {
|
||||
deviceListUpdaterServersRetrying.With(prometheus.Labels{"worker_id": strconv.Itoa(workerID)}).Set(float64(len(retries)))
|
||||
serversToRetry = serversToRetry[:0] // reuse memory
|
||||
time.Sleep(time.Second * 10)
|
||||
time.Sleep(time.Second * 2)
|
||||
if len(ch) == cap(ch) {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue