roosoft on Nostr: damus seems like if an client is so fast it can send two requests before even ...
damus (npub18m7…q955) seems like if an client is so fast it can send two requests before even receiving an answer, wss://relay.damus.io might disconnect at that point. That doesn’t happen on other relays I’ve tried, including other strfrys…
To fix things up, I have temporarily introduced some delays in between requests, and it works beautifully despite clearly being a patch.
Published at
2023-09-29 17:34:50Event JSON
{
"id": "96eff19f6050c111e24086aae8ade74dd049fdbe79045de54af618388371f9eb",
"pubkey": "efc83f01c8fb309df2c8866b8c7924cc8b6f0580afdde1d6e16e2b6107c2862c",
"created_at": 1696008890,
"kind": 1,
"tags": [
[
"p",
"3efdaebb1d8923ebd99c9e7ace3b4194ab45512e2be79c1b7d68d9243e0d2681"
]
],
"content": "nostr:npub18m76awca3y37hkvuneavuw6pjj4525fw90necxmadrvjg0sdy6qsngq955 seems like if an client is so fast it can send two requests before even receiving an answer, wss://relay.damus.io might disconnect at that point. That doesn’t happen on other relays I’ve tried, including other strfrys…\n\nTo fix things up, I have temporarily introduced some delays in between requests, and it works beautifully despite clearly being a patch.",
"sig": "b3d8d8dee6d116cfc7aed620f9eeb62a553bdfba47056caaf77dd094d85b73b2ebdb934cace7800d14d8406aa227e797d7f1d8f0f3d40fd70ab1de87c1ce1846"
}