Skip to content

Commit

Permalink
feat(direct-peers): add them to static peers set in discovery configu…
Browse files Browse the repository at this point in the history
…ration
  • Loading branch information
thedevbirb committed Mar 21, 2024
1 parent 3baed1e commit 76741d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ private int getP2pUpperBound() {
}

public void configure(final TekuConfiguration.Builder builder) {
// From a discovery configuration perspective, direct peers are static peers
p2pStaticPeers.addAll(p2pDirectPeers);

builder
.p2p(
b ->
Expand Down

0 comments on commit 76741d7

Please sign in to comment.