mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Only use websocket transport. Currently we cannot guarantee state integrity on reconnect, so let's disable it for now.
This commit is contained in:
parent
a4a1cd89f0
commit
796cdf94b6
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
var io = require('socket.io')
|
||||
|
||||
module.exports = function SocketFactory($rootScope) {
|
||||
var socket = io.connect()
|
||||
module.exports = function SocketFactory() {
|
||||
var socket = io.connect(null, {
|
||||
reconnect: false
|
||||
})
|
||||
|
||||
socket.scoped = function($scope) {
|
||||
var listeners = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue