[Pkg-javascript-commits] [sockjs-client] 337/434: Cosmetic - No need to hit the limit on every send - forgot to remove payload.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit 29921d31f9c21cb4d664d6ddab7b8a4e41400ebd
Author: Marek Majkowski <majek04 at gmail.com>
Date: Tue Jan 31 09:48:22 2012 +0000
Cosmetic - No need to hit the limit on every send - forgot to remove payload.
---
tests/html/smoke-latency.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/html/smoke-latency.html b/tests/html/smoke-latency.html
index 217238d..9c91f5e 100644
--- a/tests/html/smoke-latency.html
+++ b/tests/html/smoke-latency.html
@@ -53,9 +53,8 @@
$('#connect').each(function(_,e){e.disabled='';});
$('#disconnect').attr('disabled', true);
};
- var payload = Array(4096).join('x');
function send() {
- sjs.send(JSON.stringify({t: (new Date()).getTime(), payload:payload}));
+ sjs.send(JSON.stringify({t: (new Date()).getTime()}));
};
var i = 0;
function xonmessage(e) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list