• Steven Allen's avatar
    feat(swarm): improve dial context · 83dd28eb
    Steven Allen authored
    1. Always return the caller's context error if relevant.
    2. Don't return "context canceled" when we're just shutting down.
    3. Don't claim that the context deadline has been exceeded when the dial timeout
    is canceled.
    83dd28eb
dial_sync.go 2.91 KB