Commit 79271cae by ken

延时

parent 037c05ae
...@@ -220,7 +220,7 @@ function getBalanceByRest() { ...@@ -220,7 +220,7 @@ function getBalanceByRest() {
function run() { function run() {
subscribe(); subscribe();
const depthInterval = Math.max(60 * 1000 / (850 * ips.length / observerSymbol.length), 300); const depthInterval = Math.max(60 * 1000 / (900 * ips.length / observerSymbol.length), 300);
console.log(depthInterval); console.log(depthInterval);
setInterval(() => { setInterval(() => {
for (const symbol of observerSymbol) { for (const symbol of observerSymbol) {
......
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