You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By using https://pkg.go.dev/context#CancelCauseFunc in swarm.dialPeer we can detect if we cancelled because we received a connection while tracking metrics. This will help us understand if we are cancelling because we received a connection or because the caller cancelled the call for some reason.
Since this type is not available in go 1.19 we might have to wait till go1.21 to tackle this.
The text was updated successfully, but these errors were encountered:
By using https://pkg.go.dev/context#CancelCauseFunc in swarm.dialPeer we can detect if we cancelled because we received a connection while tracking metrics. This will help us understand if we are cancelling because we received a connection or because the caller cancelled the call for some reason.
Since this type is not available in go 1.19 we might have to wait till go1.21 to tackle this.
The text was updated successfully, but these errors were encountered: