Files
damus/nostrdb
William Casarin 0916b14b32 nostrdb: make the subscription monitor threadsafe
This was the only thing that wasn't threadsafe. Add a simple mutex
instead of a queue so that polling is quick.

This also means we can't really return the internal subscriptions
anymore, so we remove that for now until we have a safer
interface.

Fixes: https://github.com/damus-io/nostrdb/issues/55
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-11 16:40:00 -07:00
..
2025-08-11 16:40:00 -07:00
2024-09-27 12:37:53 -07:00
2025-06-16 10:34:18 -07:00
2024-06-21 12:00:44 -07:00