From 01d60b336e2c7f6857e370d1ad5b321932e7da11 Mon Sep 17 00:00:00 2001 From: George Hilliard Date: Sat, 13 Jun 2020 18:03:28 -0500 Subject: [PATCH] Delay marking camera as connected until we've logged in The reason for this change is that a "not responding" camera proxy such as a ^Z'd `socat` instance will connect just fine, but never send any data. In such a case, we retry in a 1-second loop, which is not the intent of the retry loop. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7cfc8a2..651272c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -105,10 +105,10 @@ fn camera_main(camera_config: &CameraConfig, output: &mut dyn Write) -> Result