Skip to content

Commit

Permalink
fix: set ExecuteAfter=1s for IPNI routers
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jan 17, 2023
1 parent f6e8b2c commit 0724d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/libp2p/routingopt.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func ConstructDefaultRouting(peerID string, addrs []string, privKey string) func
Router: r,
IgnoreError: true, // https://github.com/ipfs/kubo/pull/9475#discussion_r1042507387
Timeout: 15 * time.Second, // 5x server value from https://github.com/ipfs/kubo/pull/9475#discussion_r1042428529
ExecuteAfter: 0,
ExecuteAfter: 1 * time.Second, // https://github.com/ipfs/kubo/pull/9530#issuecomment-1385266880
})
}

Expand Down

0 comments on commit 0724d2a

Please sign in to comment.