remove TODO
This commit is contained in:
parent
6dcf37ef51
commit
0a7c85e5af
|
@ -117,7 +117,6 @@ func Serve() {
|
|||
}
|
||||
return nil
|
||||
}, func(error) {
|
||||
// TODO(rbastic): externalize shutdown timeout? for now just 30 mins? i don't know.
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second*time.Duration(Flags.ShutdownTimeout))
|
||||
defer cancel()
|
||||
stderr.Printf("httpserver shutting down %s\n", s.Shutdown(ctx))
|
||||
|
|
Loading…
Reference in New Issue