You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-11-29 23:07:40 +02:00
Rename IMGPROXY_WRITE_TIMEOUT to IMGPROXY_TIMEOUT and IMGPROXY_READ_TIMEOUT to IMGPROXY_READ_REQUEST_TIMEOUT
This commit is contained in:
@@ -59,7 +59,7 @@ func startServer(cancel context.CancelFunc) (*http.Server, error) {
|
||||
|
||||
s := &http.Server{
|
||||
Handler: buildRouter(),
|
||||
ReadTimeout: time.Duration(config.ReadTimeout) * time.Second,
|
||||
ReadTimeout: time.Duration(config.ReadRequestTimeout) * time.Second,
|
||||
MaxHeaderBytes: 1 << 20,
|
||||
ErrorLog: errLogger,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user