diff options
author | Valery Piashchynski <[email protected]> | 2021-06-14 17:00:06 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-14 17:00:06 +0300 |
commit | 9748651763415c417eaa339920cba031d418fda6 (patch) | |
tree | ee860c0e959c34cd9092923acf503a2017b4713e /plugins | |
parent | 75ab1e16c64cfd0a6424fe4c546fdbc5e1b992dd (diff) |
- Add more tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/websockets/plugin.go | 2 |
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() |