Anthony Accioly on Nostr: I'm more on the relay side of things, but I did write some scripts (mostly to clean ...
I'm more on the relay side of things, but I did write some scripts (mostly to clean crap out of my relays) and hit the same issue. Can you replace fetchEvents with subscribe? Subscrihe behaved much better for my use cases.
Published at
2025-03-12 17:05:22Event JSON
{
"id": "e18152d87e6d658b7600b76709e89b0ec84460bf31562ac51c1b086632533a74",
"pubkey": "ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64",
"created_at": 1741799122,
"kind": 1,
"tags": [
[
"e",
"b1ae2675ee3da2597d6340b46666e7b03f9a00254b76ee8670d68d84efb6be38",
"",
"root"
],
[
"p",
"8aa70f4433129dadb71330ac89f62b534caa200a9f3ee349a0f4a5593073d1a6"
]
],
"content": "I'm more on the relay side of things, but I did write some scripts (mostly to clean crap out of my relays) and hit the same issue. Can you replace fetchEvents with subscribe? Subscrihe behaved much better for my use cases.",
"sig": "8dbce3c08994bfcb624bcd6366c4fe26d20ae73e988b56c748f8999326721147c7f90ac4476e16136778254032a53c3d63b993f82d31dbbc27d56efb77a2741d"
}