99designs / 99designs/cmdstalk
Make timeout tries configurable on command line
- Vorherrschende Sprache
- Go
- Sterne
- 76
- Forks
- 14
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
The max number of allowed timeouts is [hardcoded to 1](https://github.com/99designs/cmdstalk/blob/fbd704da919d283643e673bd02efcf0221224b92/broker/broker.go#L26). It would be nice if that was configurable through a command line flag.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
The hardcoded timeout tries constant is in broker/broker.go line 26. Look at how other command-line flags are defined and parsed in the codebase, likely in a main.go or similar entry point. Add a new flag for max timeouts, pass it to the broker, and update the constant usage. Test by running the broker with the new flag.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 70/100