merge connection into relay, do all the closing logic on context cancelation and have closeMutex be a channelmutex.

This commit is contained in:
fiatjaf
2026-02-28 07:33:48 -03:00
parent 195cb944e2
commit 1df85217d9
6 changed files with 219 additions and 182 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
)
const RELAY = "wss://nos.lol"
const RELAY = "wss://relay.damus.io"
// test if we can fetch a couple of random events
func TestSubscribeBasic(t *testing.T) {