Update conversation.html
This commit is contained in:
@@ -399,11 +399,15 @@ if (typeof window.ChatManager === 'undefined') {
|
|||||||
|
|
||||||
// Create socket instance
|
// Create socket instance
|
||||||
socket = io({
|
socket = io({
|
||||||
transports: ['websocket'],
|
transports: ['websocket', 'polling'],
|
||||||
upgrade: false,
|
upgrade: true,
|
||||||
reconnection: false,
|
reconnection: true,
|
||||||
debug: true,
|
reconnectionAttempts: 5,
|
||||||
forceNew: false,
|
reconnectionDelay: 1000,
|
||||||
|
reconnectionDelayMax: 5000,
|
||||||
|
timeout: 20000,
|
||||||
|
autoConnect: true,
|
||||||
|
forceNew: true,
|
||||||
multiplex: false
|
multiplex: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user