Fix multiple calls to done
Triggered by multiple keepalives.
This commit is contained in:
parent
9f8b632fb5
commit
ebca58b282
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@
|
|||
});
|
||||
});
|
||||
var resource = new WebSocketResource(new WebSocket('ws://localhost:8081'), {
|
||||
keepalive: { path: '/v1/keepalive' }
|
||||
keepalive: { path: '/v1/keepalive', disconnect: true }
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
|||
});
|
||||
});
|
||||
var resource = new WebSocketResource(new WebSocket('ws://localhost:8081'), {
|
||||
keepalive: true
|
||||
keepalive: { disconnect: true }
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue