Преглед изворни кода

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