Set MaxResponseTime to 495ms
Finishing the response takes about 1ms, so we can still easily meet the 500ms timeout.
This commit is contained in:
parent
4dade9e0e6
commit
80cc7a1ba7
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user