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

Handle interrupts better #2008

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Handle interrupts better #2008

merged 2 commits into from
Apr 12, 2023

Conversation

terror
Copy link
Contributor

@terror terror commented Apr 12, 2023

This PR changes the amount of times the user has to hit Ctrl+C in order to kill the process from 7 to 2, this makes it easier for the user to immediately shutdown the process.

@casey
Copy link
Collaborator

casey commented Apr 12, 2023

Could you add a description? Without a description a maintainer will have to look at the code to figure out what the PR does.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
Copy link
Collaborator

@casey casey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@casey casey enabled auto-merge (squash) April 12, 2023 20:07
@casey casey disabled auto-merge April 12, 2023 20:07
@casey casey enabled auto-merge (squash) April 12, 2023 20:08
@casey
Copy link
Collaborator

casey commented Apr 12, 2023

I'm merging without tests because testing this would be a huge pain, and we didn't have any tests before, so in this case, YOLO.

@casey casey linked an issue Apr 12, 2023 that may be closed by this pull request
@casey casey merged commit f0d7ee8 into ordinals:master Apr 12, 2023
6 checks passed
@terror terror deleted the interrupt branch April 12, 2023 20:12
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.

Reduce interrupt limit
2 participants