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

Allow rest api to shutdown #3614

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Conversation

i1skn
Copy link
Contributor

@i1skn i1skn commented Mar 23, 2021

I think we can re-enable this functionality, grin-wallet also uses this crate and it's good to have an ability to shutdown the api without killing the process.

@quentinlesceller
Copy link
Member

Looking good. Do you know why we can reenable this now?

@i1skn
Copy link
Contributor Author

i1skn commented Mar 24, 2021

As far as I got after conversation with @hashmap there was a temporary bug in hyper version, which is now fixed. I've tested it as a part of Ironbelly and it shutdowns the API properly.

Copy link
Member

@quentinlesceller quentinlesceller left a comment

Choose a reason for hiding this comment

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

Tested and looking good. LGTM 👍

@quentinlesceller quentinlesceller merged commit 4a09fed into mimblewimble:master Mar 25, 2021
quentinlesceller added a commit that referenced this pull request Mar 28, 2021
quentinlesceller added a commit that referenced this pull request Mar 29, 2021
@quentinlesceller
Copy link
Member

@i1skn seems like the API does not start with this change.

@i1skn
Copy link
Contributor Author

i1skn commented Mar 29, 2021

@quentinlesceller Hi, is there any specific reason or case when it does not start?

@quentinlesceller
Copy link
Member

quentinlesceller commented Mar 29, 2021

Basically any call on the API will just fail. The server is not listening.

@antiochp antiochp mentioned this pull request May 6, 2021
sheldonth added a commit to sheldonth/grin that referenced this pull request Nov 21, 2021
sheldonth added a commit to sheldonth/grin that referenced this pull request Nov 21, 2021
sheldonth added a commit to sheldonth/grin that referenced this pull request Nov 23, 2021
sheldonth added a commit to sheldonth/grin that referenced this pull request Nov 23, 2021
…-api-shutdown

Revert "Revert "Revert "Allow rest api to shutdown (mimblewimble#3614)" (mimblewimble#3625)""
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