diff options
author | hozan23 <hozan23@karyontech.net> | 2024-06-23 15:57:43 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-07-09 11:46:03 +0200 |
commit | 6355144b8c3514cccc5c2ab4f7c4fd8e76a1a9fc (patch) | |
tree | 3c31e350c8da79198f6127398905461addccef1e /go.mod | |
parent | 223d80fa52d3efd2909b7061e3c42a0ed930b4ff (diff) |
Fix the issue with message dispatcher and channels
Resolved a previous error where each subscription would create a new
channel with the fixed buffer size. This caused blocking when the
channel buffer was full, preventing the client from handling additional messages.
Now, there is a `subscriptions` struct that holds a queue for receiving
notifications, ensuring the notify function does not block.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -3,15 +3,14 @@ module github.com/karyontech/karyon-go go 1.22 require ( - github.com/gorilla/websocket v1.5.1 + github.com/gorilla/websocket v1.5.3 github.com/sirupsen/logrus v1.9.3 - github.com/stretchr/testify v1.7.0 + github.com/stretchr/testify v1.9.0 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.13.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect + golang.org/x/sys v0.21.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) |