Skip to content

Commit

Permalink
feat: sync page unload (disconnect)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Aug 21, 2013
1 parent c4ad697 commit ac9b3f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/karma.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var socket = io.connect('http://' + location.host, {
'reconnection delay': 500,
'reconnection limit': 2000,
'resource': KARMA_URL_ROOT.substr(1) + 'socket.io',
'sync disconnect on unload': true,
'max reconnection attempts': Infinity
});

Expand Down

0 comments on commit ac9b3f0

Please sign in to comment.