From 50dea31d7bc677e2b091dce2d6692e6596549f64 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 5 Feb 2023 12:58:11 +0100 Subject: [PATCH] Allow pulishers to block once --- util/tee.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/tee.go b/util/tee.go index b1d587099..278ade002 100644 --- a/util/tee.go +++ b/util/tee.go @@ -12,7 +12,7 @@ type Tee struct { // Attach creates a new receiver channel and attaches it to the tee func (t *Tee) Attach() <-chan Param { - out := make(chan Param) + out := make(chan Param, 1) t.add(out) return out }