mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-04 22:10:56 +01:00
add stacktrace in update peer
This commit is contained in:
parent
3dd6d6a1bd
commit
355681e757
@ -6,6 +6,7 @@ import (
|
||||
b64 "encoding/base64"
|
||||
"fmt"
|
||||
"net"
|
||||
"runtime/debug"
|
||||
"slices"
|
||||
"strings"
|
||||
"sync"
|
||||
@ -995,6 +996,8 @@ func (am *DefaultAccountManager) updateAccountPeers(ctx context.Context, account
|
||||
continue
|
||||
}
|
||||
|
||||
log.Infof("account peers update for peer %s in account %s. Trace: %s", peer.ID, account.Id, debug.Stack())
|
||||
|
||||
wg.Add(1)
|
||||
semaphore <- struct{}{}
|
||||
go func(p *nbpeer.Peer) {
|
||||
|
Loading…
Reference in New Issue
Block a user