Changeset 699 in code for trunk/downstream.go


Ignore:
Timestamp:
Nov 17, 2021, 11:12:40 AM (4 years ago)
Author:
contact
Message:

Lower sanityCheckServer timeout to 15s

Should still be more than enough to connect even if the network is
somewhat flaky.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r698 r699  
    10321032
    10331033func sanityCheckServer(ctx context.Context, addr string) error {
    1034         ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
     1034        ctx, cancel := context.WithTimeout(ctx, 15*time.Second)
    10351035        defer cancel()
    10361036
Note: See TracChangeset for help on using the changeset viewer.