codingjoe / codingjoe/threadmill

README utilization example uses --processes, but the command defines --workers

未关闭 适合新手
#51 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
12
派生
1
平均合并
1 天 1 小时
30 天内合并 PR
10

描述

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).

贡献指南

打开贡献指南

调研方向

打开 README 的 Utilization 部分,将其中的 worker 命令示例与定义可用 flags 的 WorkerCommand.add_arguments() 进行比较。更新示例,使其使用预期的选项,然后验证文档中的命令不再产生 unrecognised-argument 错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
django, python
领域
cli, documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
活跃
描述清晰度
描述清楚
新手友好度
90/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。