Skip to content

Commit 15a9407

Browse files
committed
don't speedup if no change
1 parent 092dab6 commit 15a9407

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/api-monitor-cs-main.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { EMsg, windowListen, windowPost } from './api/communication.ts';
22
import { IS_DEV } from './api/env.ts';
3-
import {
4-
TELEMETRY_FREQUENCY_1PS,
5-
TELEMETRY_FREQUENCY_30PS,
6-
} from './api/const.ts';
3+
import { TELEMETRY_FREQUENCY_1PS } from './api/const.ts';
74
import { adjustTelemetryDelay, Timer } from './api/time.ts';
85
import {
96
onEachSecond,
@@ -43,7 +40,6 @@ const tick = new Timer(
4340
telemetryDelta: delta,
4441
});
4542
} else {
46-
tick.delay = TELEMETRY_FREQUENCY_30PS;
4743
tick.start();
4844
}
4945
}

0 commit comments

Comments
 (0)