Fix P2P Connectivity Regression + Dynamic Versioning System #12
@@ -2,7 +2,7 @@ version: "3.9"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
chorus:
|
chorus:
|
||||||
image: anthonyrawlins/chorus:discovery-debug
|
image: anthonyrawlins/chorus:v0.5.4-p2p-fix
|
||||||
|
|
||||||
# REQUIRED: License configuration (CHORUS will not start without this)
|
# REQUIRED: License configuration (CHORUS will not start without this)
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ func NewNode(ctx context.Context, opts ...Option) (*Node, error) {
|
|||||||
libp2p.DefaultMuxers,
|
libp2p.DefaultMuxers,
|
||||||
libp2p.EnableRelay(),
|
libp2p.EnableRelay(),
|
||||||
libp2p.ConnectionManager(connManager), // Add connection management
|
libp2p.ConnectionManager(connManager), // Add connection management
|
||||||
libp2p.EnableAutoRelay(), // Enable AutoRelay for container environments
|
libp2p.EnableAutoRelayWithStaticRelays([]peer.AddrInfo{}), // Enable AutoRelay with empty static list
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
cancel()
|
cancel()
|
||||||
|
|||||||
Reference in New Issue
Block a user