Skip to content

Commit

Permalink
set size of ping chunks to 1 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
SCG82 committed Feb 8, 2021
1 parent 6def282 commit c8088a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ function pingTest(done) {
}
};
// send xhr
xhr[0].open("GET", settings.url_ping + url_sep(settings.url_ping) + (settings.mpot ? "cors=true&" : "") + "r=" + Math.random(), true); // random string to prevent caching
xhr[0].open("GET", settings.url_ping + url_sep(settings.url_ping) + (settings.mpot ? "cors=true&ckSize=1&" : "ckSize=1&") + "r=" + Math.random(), true); // random string to prevent caching
xhr[0].send();
};
doPing(); // start first ping
Expand Down

0 comments on commit c8088a2

Please sign in to comment.