rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
109 stars 23 forks source link

Custom queue support #93

Open Xieyt opened 8 months ago

Xieyt commented 8 months ago
### Tasks
- [x] Support automatic addition of custom workers when custom queue are defined in `common_site_config.json`.
- [x] Reflect changes when supervisor.conf changes detected.
- [ ] Provide sub command group `queue`/`workers` for handling custom queue operations.
- [x] Don't remove default workers.
### These commands will be supported by `fm queue <command> <sitename>`
- [ ] `list/info` -> info about queue and workers
- [ ] `add` -> add workers to pre defined queue or new queue and regenerate worker containers.
- [ ] `remove` -> add workers from custom queue and regenerate worker containers.
- [ ] `reset` -> regenerate worker containers based on current config.
Xieyt commented 7 months ago
* Support automatic addition of custom workers when custom queue are defined in `common_site_config.json`.
* Reflect changes when supervisor.conf changes detected.
* Don’t remove default workers.

Implemented in #91.