add pooling
This commit is contained in:
parent
dd469d2349
commit
a98403921a
2 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ export default class AssistManager {
|
|||
const socket: Socket = (this.socket = io(urlObject.origin, {
|
||||
withCredentials: true,
|
||||
multiplex: true,
|
||||
transports: ['websocket'],
|
||||
transports: ['pooling', 'websocket'],
|
||||
path: '/ws-assist/socket',
|
||||
auth: {
|
||||
token: agentToken,
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ export default class Assist {
|
|||
extraHeaders: {
|
||||
sessionId,
|
||||
},
|
||||
transports: ['websocket',],
|
||||
transports: ['pooling', 'websocket'],
|
||||
withCredentials: true,
|
||||
reconnection: true,
|
||||
reconnectionAttempts: 30,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue