Skip to content

Commit

Permalink
Change min ipns publishes to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Dec 19, 2023
1 parent 03eaf3a commit 3b06e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/peergos/protocol/dht/Kademlia.java
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public CompletableFuture<Integer> publishValue(Multihash publisher,
}

Set<Multihash> publishes = Collections.synchronizedSet(new HashSet<>());
int minPublishes = 40;
int minPublishes = 30;

Id keyId = Id.create(Hash.sha256(key), 256);
SortedSet<RoutingEntry> toQuery = new TreeSet<>((a, b) -> compareKeys(a, b, keyId));
Expand Down

0 comments on commit 3b06e93

Please sign in to comment.