Make Sytest happy again

This commit is contained in:
Till Faelligen 2023-11-01 15:46:48 +01:00
parent b82ac59cf0
commit 999463a80e
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -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
}