From 0a1555521d8579b6971f408d298b201c8fd59140 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Sat, 31 Aug 2024 08:41:38 +0000 Subject: [performance] use single-threaded image transforms (#3252) * use single-threaded image resizing in native code so we have more control over goroutines * implement parallel-free versions of image transform functions also * remove debug code --- internal/api/client/instance/instancepatch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client/instance/instancepatch_test.go') diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go index 6148ed93e..8b099984d 100644 --- a/internal/api/client/instance/instancepatch_test.go +++ b/internal/api/client/instance/instancepatch_test.go @@ -858,7 +858,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() { "static_url": "http://localhost:8080/fileserver/01AY6P665V14JJR0AFVRT7311Y/attachment/small/`+instanceAccount.AvatarMediaAttachment.ID+`.webp",`+` "thumbnail_static_type": "image/webp", "thumbnail_description": "A bouncing little green peglin.", - "blurhash": "LF9kG$RR4YtP%dR+V^t5D,oxx?WC" + "blurhash": "LE9801Rl4Yt5%dWCV]t5Dmoex?WC" }`, string(instanceV2ThumbnailJson)) // double extra special bonus: now update the image description without changing the image -- cgit v1.2.3