Commit 7d0494fc by ken

试试看

parent 60fb5737
...@@ -6,9 +6,9 @@ let time = 0; ...@@ -6,9 +6,9 @@ let time = 0;
let lastData = null; let lastData = null;
let lastTimestamp = 0; let lastTimestamp = 0;
setInterval(()=>{ // setInterval(()=>{
run(); // run();
}, 100 ); // }, 100 );
function run() { function run() {
const before = Date.now(); const before = Date.now();
...@@ -37,5 +37,4 @@ function runWebsocket() { ...@@ -37,5 +37,4 @@ function runWebsocket() {
subscribe(); subscribe();
} }
// run();
runWebsocket(); runWebsocket();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment