Closed VerasThiago closed 4 years ago
Hi, @VerasThiago! Thanks for your contribution!
Before submitting your PRs, please open up an issue so we can discuss if there is in fact a need for making such changes to our codebase;
We document whisper's usage at the README.md file; could you please update our README to describe the newly added shutdown-time
flag?
Thanks!
Hi, @abilioesteves!
I will create this issue right now, so then we can discuss.
Hi, @VerasThiago! Thanks for your contribution!
- Before submitting your PRs, please open up an issue so we can discuss if there is in fact a need for making such changes to our codebase;
- We document whisper's usage at the README.md file; could you please update our README to describe the newly added
shutdown-time
flag?Thanks!
@abilioesteves, I got a little bit confused because the second point addressed says to update the README in order to describe the new flag, but I didn't find the section that describes each flag, only how to serve whisper locally (this section I added the new flag usage).
The description of the new flag was written in ./whisper serve -h
as follow:
Yes, I was referring to the Try it yourself section
We should update that to add the new flag. Any further thoughts on how to improve our Readme will be highly appreciated. Thanks!
Fix #49
Guided by Gorilla Mux documentation, I implemented the graceful shutdown of Whisper HTTP server.
Now
WebBuilder
Flags
have a new flag calledShutdownTime
, that is the deadline time that Whisper HTTP server needs to wait to gracefully shutdown.