fix(exec/photograph):Increase while loop delay from 10s to 60s
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 18 Oct 2021 06:53:57 +0000 (06:53 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 18 Oct 2021 06:53:57 +0000 (06:53 +0000)
- Note: battery life is the issue here.

exec/photograph/update_temp_photograph.sh

index d531dd983627d4dda0d7a5a978ad29a168bff30a..0489b8db62515e815f391065b6b92726306fa1e1 100644 (file)
@@ -280,7 +280,7 @@ main() {
     while [[ $SECONDS -lt "$script_ttl" ]]; do
        # Capture new photograph
        try update_temp_file;
     while [[ $SECONDS -lt "$script_ttl" ]]; do
        # Capture new photograph
        try update_temp_file;
-       try python3 "$sleep_rand_path" --upper 3600.0 10.0;
+       try python3 "$sleep_rand_path" --upper 3600.0 60.0;
     done;
     #===END main loop===
 };
     done;
     #===END main loop===
 };