diff options
author | Valery Piashchynski <[email protected]> | 2021-05-28 10:48:05 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-28 10:48:05 +0300 |
commit | 5527b31b2da2b60ed8877b8c43badb73f98ec7bb (patch) | |
tree | 3544321ff305539cc6ca735fadf972c782774f7a /plugins/websockets/pool/workers_pool.go | |
parent | 008f093b3de55472250470354670715115c4e4c4 (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.go | 2 |
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) |