run.go
@@ -13,7 +13,7 @@ "basic.com/valib/gogpu.git" ) const maxTryBeforeReboot = 30 const maxTryBeforeReboot = 10 type face struct { handle *SDKFace @@ -59,6 +59,7 @@ f.rebootUntil++ f.fnLogger("Face No Running: ", f.rebootUntil) if f.rebootUntil > maxTryBeforeReboot { f.fnLogger("Face Too Long Running, Reboot") os.Exit(0) } }