Event JSON
{
"id": "49fb65dd1167da39bd06eeff2fa101a9d31bb3e836836cb4797610fe9cc13935",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1731244268,
"kind": 1,
"tags": [
[
"e",
"24e65930c2881b4b62df5af2331950fa3ffe6a19924ae0299186e21d26d80f66",
"",
"root"
],
[
"e",
"3b92a32816c541569425ddb71285004a02bcb5019927eb4e3e81d060a6d02e9c",
"",
"reply"
],
[
"p",
"d04ecf33a303a59852fdb681ed8b412201ba85d8d2199aec73cb62681d62aa90",
"",
"mention"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"",
"mention"
]
],
"content": "I see you set connection timeout is 4s here https://github.com/Pleb5/muse/blob/16172fab3fd8e8cd4c2fe1036208b1d06ebec234/src/config.rs#L11C1-L11C71\n\nIf gossip enabled, client will wait for 4s before connect to relay, therefore everything will become super slow.\n\nYou can use `stream_events` instead of `fetch_events`, then query will be faster because client won't wait for all relays return EOSE.",
"sig": "dc74eee82576eadfc7d508633320c7532ddb2b42bf22d102247f310827140b8dc57aac6f9169c432c128568b660d0e279a19649228847dd627aaa514f2cefc27"
}