99designs / 99designs/cmdstalk

Make timeout tries configurable on command line

Ouverte Adaptée aux débutants
#12 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
76
Forks
14
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
70/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.