codingjoe / codingjoe/threadmill

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

Aperta Adatta ai principianti
#51 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
12
Fork
1
Merge medio
1g 1h
PR unite (30g)
10

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Open the README's Utilization section and compare its worker command example with WorkerCommand.add_arguments(), which defines the available flags. Update the example so it uses the intended option, then verify that the documented command no longer produces an unrecognised-argument error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
django, python
Ambito
cli, documentation
Tipo di issue
Documentazione
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
90/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.