Check timeout automatically

This commit is contained in:
DarthSim
2022-06-23 17:23:04 +06:00
parent d80a203390
commit a44e8dc94b
8 changed files with 9 additions and 25 deletions

View File

@@ -18,5 +18,5 @@ func scale(pctx *pipelineContext, img *vips.Image, po *options.ProcessingOptions
}
}
return copyMemoryAndCheckTimeout(pctx.ctx, img)
return img.CopyMemory()
}