Revert "Add session keep alive. If client doesn't send a keep alive, after a"

This reverts commit 1b0d363ffe.
This commit is contained in:
Jonathan Leibiusky (@xetorthio)
2017-10-17 01:42:59 +02:00
parent 94b59b7746
commit b99c047a0c
5 changed files with 3 additions and 43 deletions

View File

@@ -6,7 +6,6 @@ import (
"github.com/googollee/go-socket.io"
"github.com/gorilla/mux"
"github.com/play-with-docker/play-with-docker/event"
)
func WS(so socketio.Socket) {
@@ -66,10 +65,6 @@ func WS(so socketio.Socket) {
m.Close()
core.ClientClose(client)
})
so.On("session keep alive", func() {
e.Emit(event.SESSION_KEEP_ALIVE, sessionId)
})
}
func WSError(so socketio.Socket) {