deactivated automatic client reconnection

This commit is contained in:
logsol 2012-07-28 01:08:27 +02:00
parent ebb400a289
commit 5d11540c55
3 changed files with 20 additions and 7 deletions

View file

@ -6,6 +6,17 @@ var inspector = {};
requirejs(["Bootstrap/Client"], function(Client) {
var client = new Client(location.href);
var options = {
"reconnect": false,
"reconnection delay": 500,
"max reconnection attempts": 10,
"transports": [
"websocket",
"flashsocket"
],
};
var client = new Client(location.href, options);
inspector.client = client;
});