Increase the status checks timeout (#2033)

Some systems might respond with a small delay depending on various factors. Increasing the timeout to reduce the number of false-positive reports
This commit is contained in:
Maycon Santos 2024-05-23 10:54:01 +02:00 committed by GitHub
parent 5a1f8f13a2
commit 89149dc6f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,7 +170,7 @@ func ProbeAll(
var wg sync.WaitGroup
for i, uri := range relays {
ctx, cancel := context.WithTimeout(ctx, 1*time.Second)
ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
defer cancel()
wg.Add(1)