zaunist commented on a change in pull request #2171:
URL: https://github.com/apache/apisix-dashboard/pull/2171#discussion_r731592479
##########
File path: api/internal/core/server/http.go
##########
@@ -50,8 +50,8 @@ func (s *server) setupAPI() {
s.server = &http.Server{
Addr: addr,
Handler: r,
- ReadTimeout: time.Duration(1000) * time.Millisecond,
- WriteTimeout: time.Duration(5000) * time.Millisecond,
+ ReadTimeout: time.Duration(5000) * time.Millisecond,
+ WriteTimeout: time.Duration(60000) * time.Millisecond,
Review comment:
> I think it should be changed to add `gzip` middleware. It will greatly
reduce the volume of transferred files.
+1. And I'm happy to update the code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]