upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorBitflash <btf01@proton.me>2026-08-02 12:14:42 -0300
committerGitHub <noreply@github.com>2026-08-02 12:14:42 -0300
commit00c2d6af83c553df90e5950cf68552752b7ae6e7 (patch)
treeb9cd693bde2337c0b7954acf5e044f7c1693be0d /src/db.cpp
parent758ff4bc49af78b06e37fc1e99741cb5fa8e43d6 (diff)
net: back to one accept thread until every relay takes more than one (#114)
#113 added three accept threads and called the extras harmless against an un-upgraded relay. They are not: an old relay closes the previous registration whenever the same node registers again, so the threads evict each other in a loop. Measured on the live network -- the node whose registrations landed on the un-upgraded New Jersey relay made 189 registrations in fifteen minutes with zero pairings, unreachable through it and hammering it, while the node on the upgraded relay made 9 with 7 pairings. One relay of three is upgraded, so this would hit two thirds of every node's registrations. The relay half of #113 stays; it is compatible in both directions and is the prerequisite for raising this again, which the comment now states.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions