From 0a7c85e5af94e7279ed77d277a3856ad10583bac Mon Sep 17 00:00:00 2001 From: rbastic Date: Mon, 24 Aug 2020 22:49:24 -0400 Subject: [PATCH] remove TODO --- cmd/tusd/cli/serve.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/tusd/cli/serve.go b/cmd/tusd/cli/serve.go index 06c8c9c..caf3b41 100644 --- a/cmd/tusd/cli/serve.go +++ b/cmd/tusd/cli/serve.go @@ -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))