summaryrefslogtreecommitdiff
path: root/plugins/websockets/pool
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/websockets/pool')
-rw-r--r--plugins/websockets/pool/workers_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/websockets/pool/workers_pool.go b/plugins/websockets/pool/workers_pool.go
index 8ff3d138..87e931d0 100644
--- a/plugins/websockets/pool/workers_pool.go
+++ b/plugins/websockets/pool/workers_pool.go
@@ -74,7 +74,7 @@ func (wp *WorkersPool) do() {
case msg := <-wp.queue:
res := wp.get()
// get connections for the particular topic
- wp.storage.Get(msg.Topics(), res)
+ wp.storage.GetByPtr(msg.Topics(), res)
if len(res) == 0 {
wp.log.Info("no such topic", "topic", msg.Topics())
wp.put(res)