mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-12 10:13:29 +00:00
websocket example responses: 15 times -> 3 times
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
out('<span style="color: blue;">RESPONSE: ' + ev.data + ' </span>');
|
||||
num_messages++;
|
||||
}
|
||||
if (num_messages > 15) {
|
||||
if (num_messages > 3) {
|
||||
websocket.send('exit');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user