Commit Graph

8 Commits

Author SHA1 Message Date
Isaque Veras
58d56abe05 fix: removing redundancy 2023-06-12 08:18:29 -03:00
fiatjaf
9cafea7e2a ensure relay context and subscriptions are closed when we lose connectivity. 2023-05-30 17:44:25 -03:00
fiatjaf
19d96e3566 close SubMany channel when all underlying subscriptions die. 2023-05-30 16:11:33 -03:00
fiatjaf
39f09e6bb9 replace generic-sync-map with xsync. 2023-05-30 13:52:14 -03:00
fiatjaf
9dc674bc02 use different contexts for the relay connection lifetime and the Connect() call.
fixes https://github.com/nbd-wtf/go-nostr/pull/86
2023-05-09 17:08:08 -03:00
fiatjaf
52a493fd96 EnsureRelay() returns an error. 2023-05-09 00:09:05 -03:00
fiatjaf
c0a42ff2ff SimplePool improvements. 2023-05-06 14:32:39 -03:00
fiatjaf
98a2a39521 add SimplePool. 2023-05-05 19:05:11 -03:00