summaryrefslogtreecommitdiff
path: root/plugins/websockets/pool/workers_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
committerValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
commit5527b31b2da2b60ed8877b8c43badb73f98ec7bb (patch)
tree3544321ff305539cc6ca735fadf972c782774f7a /plugins/websockets/pool/workers_pool.go
parent008f093b3de55472250470354670715115c4e4c4 (diff)
- Add more tests for the BST storage
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/websockets/pool/workers_pool.go')
-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)