From 6b31a7bd2a3bf2b6744c2f2a10c1a30d5a001256 Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Wed, 22 Dec 2021 12:59:49 +0100 Subject: [PATCH] more info --- discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery.go b/discovery.go index cf52169..f7cecd3 100644 --- a/discovery.go +++ b/discovery.go @@ -75,7 +75,7 @@ type discover struct { // MinTopicSize returns a function that checks if a router is ready for publishing based on the topic size. // The router ultimately decides the whether it is ready or not, the given size is just a suggestion. Note -// that the topic size does not include the host in the count. +// that the topic size does not include the router in the count. func MinTopicSize(size int) RouterReady { return func(rt PubSubRouter, topic string) (bool, error) { return rt.EnoughPeers(topic, size), nil