소스 검색

Only take a picture every half minute

Johannes Zellner 6 년 전
부모
커밋
4b639afbd8
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -54,5 +54,5 @@ function capture() {
 app.listen(port, function () {
     console.log(`Growcam listening on port ${port}`);
 
-    setInterval(capture, 5000);
+    setInterval(capture, 30 * 1000);
 });