R2NorthstarTools / R2NorthstarTools/FlightCore
Implement install queue
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 94
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Installing/updating many mods in parallel seems to occasionally cause weird errors. While the backend cause is written stateless and hence should be fully parallelisable some of the OS operations around adding/removing files seem to cause weird interference.
The easiest solution would be to only allow one mod install process to run at once. That would mean blocking all mod installs until the first one is done.
For the user that's a bit annoying to deal with to have to wait for one mod install to be done before being able to initiate the next one so the next best solution would be to add every mod install to a queue and then have a worker dispatch elements from the queue until empty.
The queue management + worker would be done in frontend to keep backend stateless.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the frontend mod-install entry point and the existing install/update flow; the issue names no files or tests. Done means install requests are queued, processed one at a time until the queue is empty, and no longer interfere with one another.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, tauri
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100