summaryrefslogtreecommitdiff
path: root/plugins/websockets/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/websockets/plugin.go')
-rw-r--r--plugins/websockets/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/websockets/plugin.go b/plugins/websockets/plugin.go
index c53491b4..6dfe6ca3 100644
--- a/plugins/websockets/plugin.go
+++ b/plugins/websockets/plugin.go
@@ -90,7 +90,7 @@ func (p *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se
}
func (p *Plugin) Serve() chan error {
- errCh := make(chan error)
+ errCh := make(chan error, 1)
const op = errors.Op("websockets_plugin_serve")
err := p.initPubSubs()