Commit 93c74b0a by ken

减少延时

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