Websocket fixes (#461)

* Bump api spec version

* Do not panic on cpu monitoring error

* Centralize the socket disconnect logic and fire it also when socket errors occur. Hopefully closes #421
This commit is contained in:
Gabe Kangas
2020-12-21 19:42:47 -08:00
committed by GitHub
parent eab45c7e92
commit e558c549d7
4 changed files with 41 additions and 15 deletions

View File

@@ -7,8 +7,8 @@ config:
maxErrorRate: 1
phases:
- duration: 30
arrivalRate: 10
- duration: 100
arrivalRate: 15
ws:
subprotocols:
- json
@@ -21,4 +21,4 @@ scenarios:
flow:
- function: "createTestMessageObject"
- send: "{{ data }}"
- think: 5
- think: 10