v2.0.0 and above crashes with message "Error during shutdowncontext deadline exceeded" and exit code 1
upon SIGINT being received (run and then Ctrl+C, or on our case autoscaling a kubernetes deployment down)
v1.2.1 seems to be unaffected.
Possibly due to the change in go versions from v1.14 to v1.15.
The mux graceful shutdown example in https://github.com/gorilla/mux#graceful-shutdown has a usage of the "flag" package to parse an argument into the variable, but it looks like that doesn't happen here so I think it initialised with an empty duration.
v2.0.0 and above crashes with message "Error during shutdowncontext deadline exceeded" and exit code 1 upon SIGINT being received (run and then Ctrl+C, or on our case autoscaling a kubernetes deployment down)
v1.2.1 seems to be unaffected.
Possibly due to the change in go versions from v1.14 to v1.15.
The mux graceful shutdown example in https://github.com/gorilla/mux#graceful-shutdown has a usage of the "flag" package to parse an argument into the variable, but it looks like that doesn't happen here so I think it initialised with an empty duration.
Fixes #132