chiark / gitweb /
site: transport peers update: avoid nearly-trivial debug
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 17 May 2019 22:10:03 +0000 (23:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 May 2019 01:11:53 +0000 (02:11 +0100)
commitfdef47ec4f85ebad9e5800dd74bee93b4caaa2ab
tree6324b0788aa4947f6a98f3c792fa2cd1d2e53d18
parent37acaef1c378dac38ce880b037891a7e3af93193
site: transport peers update: avoid nearly-trivial debug

When the order of peers changes, but not the total set, we probably
don't want to log it.  Actually comparing the before and after lists
setwise is rather too hard.  But we can do it fairly easily when
there's only one peer being recorded.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
---
v2: New patch
site.c