From 0b3a2646485633b347d02a66c4640e388a21a19b Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:38:36 +0100 Subject: [PATCH] Reduce timeout to 1s --- userapi/internal/device_list_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userapi/internal/device_list_update.go b/userapi/internal/device_list_update.go index a4d28188a..80631456a 100644 --- a/userapi/internal/device_list_update.go +++ b/userapi/internal/device_list_update.go @@ -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 }