remove TODO
This commit is contained in:
parent
6dcf37ef51
commit
0a7c85e5af
|
@ -117,7 +117,6 @@ func Serve() {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}, func(error) {
|
}, 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))
|
ctx, cancel := context.WithTimeout(context.Background(), time.Second*time.Duration(Flags.ShutdownTimeout))
|
||||||
defer cancel()
|
defer cancel()
|
||||||
stderr.Printf("httpserver shutting down %s\n", s.Shutdown(ctx))
|
stderr.Printf("httpserver shutting down %s\n", s.Shutdown(ctx))
|
||||||
|
|
Loading…
Reference in New Issue