mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -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 {
|
for {
|
||||||
deviceListUpdaterServersRetrying.With(prometheus.Labels{"worker_id": strconv.Itoa(workerID)}).Set(float64(len(retries)))
|
deviceListUpdaterServersRetrying.With(prometheus.Labels{"worker_id": strconv.Itoa(workerID)}).Set(float64(len(retries)))
|
||||||
serversToRetry = serversToRetry[:0] // reuse memory
|
serversToRetry = serversToRetry[:0] // reuse memory
|
||||||
time.Sleep(time.Second * 10)
|
time.Sleep(time.Second * 2)
|
||||||
if len(ch) == cap(ch) {
|
if len(ch) == cap(ch) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue