-
Notifications
You must be signed in to change notification settings - Fork 992
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
Conversation
Looking good. Do you know why we can reenable this now? |
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. |
There was a problem hiding this 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 👍
This reverts commit 4a09fed.
@i1skn seems like the API does not start with this change. |
@quentinlesceller Hi, is there any specific reason or case when it does not start? |
Basically any call on the API will just fail. The server is not listening. |
…lewimble#3625)" This reverts commit 25d93c8.
…down Revert "Revert "Allow rest api to shutdown (mimblewimble#3614)" (mimblewimble#3625)"
…-api-shutdown Revert "Revert "Revert "Allow rest api to shutdown (mimblewimble#3614)" (mimblewimble#3625)""
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.