Update load_tests/benchmarks/templates/main.js.j2
Co-authored-by: Erik Kaunismäki <erik.kaum@gmail.com>
This commit is contained in:
parent
4642fd27ad
commit
3a1463c187
|
@ -58,7 +58,6 @@ export default function run() {
|
||||||
|
|
||||||
const res = sse.open(url, params, function (client) {
|
const res = sse.open(url, params, function (client) {
|
||||||
client.on('event', function (event) {
|
client.on('event', function (event) {
|
||||||
// console.log(event.data)
|
|
||||||
if (parseInt(event.id) === 4) {
|
if (parseInt(event.id) === 4) {
|
||||||
client.close()
|
client.close()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue