소스 검색

longer interval tick

Dr-Swopt 1 주 전
부모
커밋
164885944b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/surveillance/surveillance.service.ts

+ 2 - 2
src/surveillance/surveillance.service.ts

@@ -49,8 +49,8 @@ export class SurveillanceService implements OnModuleInit, OnModuleDestroy {
   // ─── Lifecycle ─────────────────────────────────────────────────────────────
 
   onModuleInit() {
-    this.logger.log('SurveillanceService booting — starting 500ms poll loop');
-    this.pollInterval = setInterval(() => this.tick(), 500);
+    this.logger.log('SurveillanceService booting — starting 1000ms poll loop');
+    this.pollInterval = setInterval(() => this.tick(), 1000);
   }
 
   onModuleDestroy() {