codingjoe / codingjoe/threadmill
README utilization example uses --processes, but the command defines --workers
- Ngôn ngữ chính
- Python
- Star
- 12
- Fork
- 1
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
Noted while adding the *Queues* section to the README (fair multi-queue scheduling, `codingjoe-fair-multi-queue-scheduling`).
The README's *Utilization* section advertises:
```console
uv run manage.py threadmill worker --processes 4 --threads 2
```
but `WorkerCommand.add_arguments()` defines `-w`/`--workers`, not `--processes`. The example fails with an unrecognised-argument error.
Fix is to rename the flag in the README example (or add an alias, if `--processes` is the intended name).
Hướng dẫn đóng góp
Hướng nghiên cứu
Mở phần Utilization của README và so sánh ví dụ lệnh worker trong đó với WorkerCommand.add_arguments(), hàm định nghĩa các flag khả dụng. Cập nhật ví dụ để sử dụng tùy chọn được dự định, sau đó xác minh rằng lệnh được ghi lại không còn tạo ra lỗi unrecognised-argument.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- django, python
- Lĩnh vực
- cli, documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 90/100