client: add TODO comment for adaptive backoff

This commit is contained in:
vyzo 2018-04-23 13:38:34 +03:00
parent 8181424229
commit fbaf21c098

View File

@ -204,6 +204,7 @@ func discoverAsync(ctx context.Context, ns string, s inet.Stream, ch chan Regist
}
if len(regs) < batch {
// TODO adaptive backoff for heavily loaded rendezvous points
select {
case <-time.After(2 * time.Minute):
case <-ctx.Done():