Skip to content

Commit bef5299

Browse files
authored
Fix ws (#107)
* upd ui * fix * increased throughput * upd UI deps
1 parent 470cfd0 commit bef5299

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

api/websocket_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type WebsocketHandler struct {
3333
// **NewWebsocketHandler initializes WebsocketHandler**
3434
func NewWebsocketHandler(conn *websocket.Conn) *WebsocketHandler {
3535
handler := &WebsocketHandler{
36-
writeQueue: make(chan []byte, 100),
36+
writeQueue: make(chan []byte, 200),
3737
conn: conn,
3838
closeChan: make(chan struct{}),
3939
closed: false,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
)
1818

1919
require (
20-
github.com/erigontech/erigonwatch v0.1.25
20+
github.com/erigontech/erigonwatch v0.1.26
2121
github.com/fsnotify/fsnotify v1.7.0 // indirect
2222
github.com/hashicorp/hcl v1.0.0 // indirect
2323
github.com/inconshreveable/mousetrap v1.1.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
44
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
55
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6-
github.com/erigontech/erigonwatch v0.1.25 h1:NRCwI6Np4XHVoL/vfPoFH9cphqIAAtWkXArN+is5Cjs=
7-
github.com/erigontech/erigonwatch v0.1.25/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
6+
github.com/erigontech/erigonwatch v0.1.26 h1:6ZeB34SDFyTK3UDz+1tiVFUNyJNu9bJCB+xX413W6oY=
7+
github.com/erigontech/erigonwatch v0.1.26/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
88
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
99
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
1010
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=

0 commit comments

Comments
 (0)