Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mudler/edgevpn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.28.2
Choose a base ref
...
head repository: mudler/edgevpn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.28.3
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 27, 2024

  1. fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 (#565

    )
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 27, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vmishenev Vadim Mishenev
    Copy the full SHA
    4679e0e View commit details
  2. fix(deps): update module github.com/c-robinson/iplib to v2 (#567)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 27, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vmishenev Vadim Mishenev
    Copy the full SHA
    331c874 View commit details
  3. fix(deps): update module github.com/hashicorp/golang-lru to v2 (#568)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 27, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vmishenev Vadim Mishenev
    Copy the full SHA
    d394cd6 View commit details
  4. chore: add tiemout to findpeers (#569)

    Signed-off-by: mudler <mudler@localai.io>
    mudler authored Aug 27, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vmishenev Vadim Mishenev
    Copy the full SHA
    418f7c6 View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 pkg/discovery/dht.go
4 changes: 3 additions & 1 deletion pkg/discovery/dht.go
Original file line number Diff line number Diff line change
@@ -234,7 +234,9 @@ func (d *DHT) announceAndConnect(l log.StandardLogger, ctx context.Context, kade
// This is like your friend telling you the location to meet you.
l.Debug("Searching for other peers...")

peerChan, err := routingDiscovery.FindPeers(ctx, rv)
fCtx, cf := context.WithTimeout(ctx, time.Second*120)
defer cf()
peerChan, err := routingDiscovery.FindPeers(fCtx, rv)
if err != nil {
return err
}