remove TODO

This commit is contained in:
rbastic 2020-08-24 22:49:24 -04:00
parent 6dcf37ef51
commit 0a7c85e5af
1 changed files with 0 additions and 1 deletions

View File

@ -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))