projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9f97d
)
Correctly switching between polling/websockets
author
Darren
<darren@darrenwhitlen.com>
Tue, 17 Jun 2014 14:06:24 +0000
(15:06 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Tue, 17 Jun 2014 14:06:24 +0000
(15:06 +0100)
client/src/models/gateway.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/models/gateway.js
b/client/src/models/gateway.js
index 1eddbdee0889609c426b6924834be8e3438ba33d..01f92e8f013ef954b4559f61f1ba263abd4f9c38 100644
(file)
--- a/
client/src/models/gateway.js
+++ b/
client/src/models/gateway.js
@@
-39,7
+39,7
@@
_kiwi.model.Gateway = function () {
this.set('kiwi_server', _kiwi.app.kiwi_server);
\r
\r
this.socket = new EngineioTools.ReconnectingSocket(this.get('kiwi_server'), {
\r
- transports: _kiwi.app.server_settings.transports || ['
websocket', 'polling
'],
\r
+ transports: _kiwi.app.server_settings.transports || ['
polling', 'websocket
'],
\r
path: _kiwi.app.get('base_path') + '/transport',
\r
reconnect_max_attempts: 5,
\r
reconnect_delay: 2000
\r