You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2024. It is now read-only.
At the moment, when adding a significantly large media dir, the burden of processing the full directory structure slows down web requests. Since node is single-threaded, and it doesn't provide any built-in way to prioritize asynchronous tasks, the easiest solution to this issue may simply be to break out the traversal into a separate process.
It should still be possible to launch, and possibly manage this subprocess from the main evsonic application. Also, it should be possible for the traversal process to live along side the main app.js, and reference the same settings, models, and so forth.
At the moment, when adding a significantly large media dir, the burden of processing the full directory structure slows down web requests. Since node is single-threaded, and it doesn't provide any built-in way to prioritize asynchronous tasks, the easiest solution to this issue may simply be to break out the traversal into a separate process.
It should still be possible to launch, and possibly manage this subprocess from the main evsonic application. Also, it should be possible for the traversal process to live along side the main app.js, and reference the same settings, models, and so forth.