From e4b4aeb9a03a6ad767aaf758eb1c89b2ea276774 Mon Sep 17 00:00:00 2001 From: David Lick Date: Thu, 6 Aug 2020 15:12:50 -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)