diff --git a/README.md b/README.md index 1ccde2e98..69361b567 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,11 @@ of you can auto serve the ui by ``` npm run serve ``` - +## Hardware +this is important when choosing your sbc it is more important to have a good usb controller that a good cpu +on the odroid xu4 which is very fast i have got many bottlenecks from the usb controller and many times making the program crach +#### networking +it is very important to install Bonjour ## docs diff --git a/backend/Main.py b/backend/Main.py index 48631c8ef..02aa2c372 100644 --- a/backend/Main.py +++ b/backend/Main.py @@ -31,6 +31,7 @@ def run(): port += 1 + if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG) settings_manager = SettingsManager() @@ -38,5 +39,3 @@ if __name__ == "__main__": server_thread = threading.Thread(target=run_server) server_thread.start() - while True: - pass diff --git a/backend/app/handlers/CameraHander.py b/backend/app/handlers/CameraHander.py index 04eb48ab7..8690693f4 100644 --- a/backend/app/handlers/CameraHander.py +++ b/backend/app/handlers/CameraHander.py @@ -111,7 +111,7 @@ class CameraHandler: #publishing to websocket at slower interval asyncio.set_event_loop(asyncio.new_event_loop()) while True: - time.sleep(0.05) + time.sleep(0.1) if self.settings_manager.general_settings['curr_camera'] == self.cam_name: try: send_all_async({