浏览代码

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);
 });