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
@@ -17,7 +17,7 @@ func TestEOSEMadness(t *testing.T) {
}, SubscriptionOptions{})
assert.NoError(t, err)
timeout := time.After(3 * time.Second)
timeout := time.After(2 * time.Second)
n := 0
e := 0