Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] add timeout to cook command and adjust command variable #110

Merged

Conversation

johnmckenna-snd
Copy link
Contributor

@johnmckenna-snd johnmckenna-snd commented Aug 11, 2024

Is your feature request related to a problem? Please describe.
The problem is that sometimes the steps take longer than 30 seconds to complete. An example would be installing a larger package or a few packages.

Describe the solution you'd like
This seems like it'd be fairly easy to implement. I don't have much experience with go, but I took a stab at it taking examples from other files. I was able to compile and check this locally. Also, sorry for the two commits. I realized I should probably actually test what is wrote.

Additional context
I have been using grlx for my MVP and so far I'm excited about the direction it's heading!

@taigrr
Copy link
Member

taigrr commented Aug 12, 2024

Thanks! I will merge this as it's a helpful addition, however I might change the CLI flag name before this makes it into a tagged version, as I want the timeout flag to work more globally. Thanks for the contribution!

@taigrr taigrr merged commit 93d9819 into gogrlx:master Aug 12, 2024
3 of 4 checks passed
taigrr pushed a commit that referenced this pull request Sep 10, 2024
* add timeout to cook command and adjust command variable

* a few updates to fix some bugs with the new cookTimeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants