Event JSON
{
"id": "cc983ab3b5d70764ff6b46c2de099ac02f69bba49774efa1367cbd0d2f807b76",
"pubkey": "bf1957ed6b9c28a6ed19f6d4f3b146eeadaee1bbc9d03767b8624f0c09b2d0c5",
"created_at": 1702415768,
"kind": 1,
"tags": [
[
"p",
"488cf7e23a992aeb939745496368a7f38c139e89dbb78f1eb357818e683d6385",
"wss://relay.mostr.pub"
],
[
"p",
"584b9282fbc3d56bde321066766c0ebca3c5508e8d1596a8c7f0a15ca830571c",
"wss://relay.mostr.pub"
],
[
"e",
"4fb6e31688446d36f8684143683fa6014026e38b8cf1fddc402e93bde90f04c2",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://emacs.ch/users/djrmarques/statuses/111569519795782721",
"activitypub"
]
],
"content": "nostr:npub1fzx00c36ny4whyuhg4ykx6987wxp885fmwmc784n27qcu6pavwzs3wt6h3 So the tip you gave me ended up now solving the problem entirely (it was nonetheless super helpful). I ended up changing the location of the mutex, and declaring it at the top of the file as var mu sync.Mutex instead of a field in the struct. The race condition seems to have been fixed for now. \n\nMan the MIT guy was not joking, debugging concurrent code it is not trivial.",
"sig": "ccdf222dff1cbbef830563449348280be9c67f08dceb372a21d03f4be00eb44954d745d6ecfdae6dc4057a87edcf5cebd6374144cede22d43760fbdcb5698378"
}