Skip to content

Conversation

@ojacques
Copy link
Collaborator

@ojacques ojacques commented Jan 19, 2025

Startup is now multithreaded. The http listener starts right away, which allows DOFLinx to start DOF2DMD and continue. The DMD may take few more seconds to start, while DOFLinx already starts to send pictures. This is accounted for by adding a logic in DisplayPicture to wait (up to 10 seconds) while the initialization thread does its job. Meanwhile, requests to display images are queued.
Additionally, the packaging is reviewed so that there is no decompression when launching the app, at the cost of many more files in the package (but not an issue really).
Overall, this release goes from about 10 seconds startup time down to less than 1 second, with 2/3 more seconds for the DMD to be functional and display picture.

@ojacques ojacques merged commit c0d8532 into main Jan 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants