From 2d33e1c8620dffa2aa4c3ba0cd10eab06c706768 Mon Sep 17 00:00:00 2001 From: David Lick Date: Thu, 6 Aug 2020 15:12:03 -0400 Subject: [PATCH] Update handlers.go --- cmd/api/http/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api/http/handlers.go b/cmd/api/http/handlers.go index ce10b85..4766fff 100644 --- a/cmd/api/http/handlers.go +++ b/cmd/api/http/handlers.go @@ -53,7 +53,7 @@ func (s *Server) getData(w http.ResponseWriter, r *http.Request) { return } - // Sleep for a random amount of time up to 5 seconds. + // Sleep for a random amount of time up to 500 milliseconds. time.Sleep(time.Duration(rand.Intn(500)) * time.Millisecond) w.Write(bytes)