Set MaxResponseTime to 495ms

Finishing the response takes about 1ms, so
we can still easily meet the 500ms timeout.
This commit is contained in:
Julian Ospald 2017-10-07 18:14:05 +02:00
parent 4dade9e0e6
commit 80cc7a1ba7
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -19,7 +19,7 @@ type Numbers struct {
} }
// The maximum response time of the handlers. // The maximum response time of the handlers.
var MaxResponseTime time.Duration = 450 * time.Millisecond var MaxResponseTime time.Duration = 495 * time.Millisecond
// The main entry point of the backend. // The main entry point of the backend.
func main() { func main() {