mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
websocket example responses: 15 times -> 3 times
This commit is contained in:
1 parent
2dfc79129a
commit
877c4dc698
1 file changed
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
out('<span style="color: blue;">RESPONSE: ' + ev.data + ' </span>');
|
out('<span style="color: blue;">RESPONSE: ' + ev.data + ' </span>');
|
||||||
num_messages++;
|
num_messages++;
|
||||||
}
|
}
|
||||||
if (num_messages > 15) {
|
if (num_messages > 3) {
|
||||||
websocket.send('exit');
|
websocket.send('exit');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user