Skip to content
Snippets Groups Projects
Commit c3a3484f authored by Malte Bauch's avatar Malte Bauch
Browse files

Update port

parent dfe20f3b
No related branches found
No related tags found
1 merge request!490Resolve "Application that allows to access events through websocket"
...@@ -37,7 +37,7 @@ func (a *Application) Run() { ...@@ -37,7 +37,7 @@ func (a *Application) Run() {
svr := nbhttp.NewServer(nbhttp.Config{ svr := nbhttp.NewServer(nbhttp.Config{
Network: "tcp", Network: "tcp",
Addrs: []string{"localhost:80"}, Addrs: []string{"localhost:4000"},
Handler: mux, Handler: mux,
}) })
......
...@@ -15,7 +15,7 @@ import ( ...@@ -15,7 +15,7 @@ import (
var ( var (
clientManager = NewClientManager() clientManager = NewClientManager()
keepaliveTimer = time.Second * 30 keepaliveTimer = time.Second * 60
) )
type ClientManager struct { type ClientManager struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment