Why Nostr? What is Njump?
2023-12-12 21:16:08
in reply to

npub1hu…hhr7m on Nostr: npub1fzx00…wt6h3 So the tip you gave me ended up now solving the problem entirely ...

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.

Man the MIT guy was not joking, debugging concurrent code it is not trivial.
Author Public Key
npub1huv40mttns52dmge7m208v2xa6k6acdme8grweacvf8sczdj6rzs9hhr7m