DEV Community

Discussion on: 13 - Gin Handler Timeout Middleware

Collapse
 
whuangz profile image
William

is it only me that think by implementing timeout middleware, make the response slower than usual?

I tried to implement your timeout code in my project
usually when I fetch 100 data from my repo to JSON it' around 200 - 500 ms

but by implementing the timeout it could reach 4-5 s