You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-05 23:28:10 +02:00
Check timeout automatically
This commit is contained in:
@@ -29,5 +29,5 @@ func fixWebpSize(pctx *pipelineContext, img *vips.Image, po *options.ProcessingO
|
||||
|
||||
log.Warningf("WebP dimension size is limited to %d. The image is rescaled to %dx%d", int(webpMaxDimension), img.Width(), img.Height())
|
||||
|
||||
return copyMemoryAndCheckTimeout(pctx.ctx, img)
|
||||
return img.CopyMemory()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user