Mike Dilger ☑️ on Nostr: Gossip changes: If a relay used for general subscriptions of people you follow closes ...
Gossip changes:
If a relay used for general subscriptions of people you follow closes on us, gossip now replaces it with another relay using the same relay-picker algorithm it uses at startup (that algorithm has known issues but it kinda works well enough for now). It will not retry the relay that closed the connection on us during the current session.
Gossip now has better relay management pages. You can set a rank from 0-9:
0 - don't read from this relay
1 - 1/3rd of default rank
3 - default rank
9 - 3x default rank
Also it shows you which relays it is connected to currently, and for the general subscription how many pubkeys it is serving.
There is a chance gossip will keep trying new relays over and over if relays keep hanging up on it, and I'm not sure if that's bad. Earlier today due to some bugs and due to relays being quite busy, it seemed like maybe gossip was trying too hard. So keep an eye on it (run it from a terminal and watch the logs) and use your best judgement.
And as always, report bugs please. Thanks.
Published at
2023-02-01 07:01:12Event JSON
{
"id": "0054353ee566048b519911872f954a55b70de13254d8cd3603921fdb405594e8",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1675234872,
"kind": 1,
"tags": [
[
"subject",
"Gossip changes"
],
[
"client",
"gossip"
]
],
"content": "Gossip changes:\n\nIf a relay used for general subscriptions of people you follow closes on us, gossip now replaces it with another relay using the same relay-picker algorithm it uses at startup (that algorithm has known issues but it kinda works well enough for now). It will not retry the relay that closed the connection on us during the current session.\n\nGossip now has better relay management pages. You can set a rank from 0-9:\n0 - don't read from this relay\n1 - 1/3rd of default rank\n3 - default rank\n9 - 3x default rank\n\nAlso it shows you which relays it is connected to currently, and for the general subscription how many pubkeys it is serving.\n\nThere is a chance gossip will keep trying new relays over and over if relays keep hanging up on it, and I'm not sure if that's bad. Earlier today due to some bugs and due to relays being quite busy, it seemed like maybe gossip was trying too hard. So keep an eye on it (run it from a terminal and watch the logs) and use your best judgement.\n\nAnd as always, report bugs please. Thanks.\n",
"sig": "abe0d6ea05162f56912fe75765d29cb3f7f13fa36cb5c3733188cd06be4d74fcbdb73b772479deb712265e5a802d7d06b22a2f4623a5b4605225ac4c654b1021"
}