From ce837a0494122f4abb4d2fd5f8bb40f4440daeaf Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 25 Jan 2024 22:22:16 +0900 Subject: [PATCH] =?UTF-8?q?perf:=20Update=E3=81=8C=E5=A4=9A=E7=99=BA?= =?UTF-8?q?=E3=81=99=E3=82=8B=E5=95=8F=E9=A1=8C=E3=81=AE=E4=B8=80=E6=99=82?= =?UTF-8?q?=E7=9A=84=E3=81=AA=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/usbharu/hideout/core/service/post/PostServiceImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/core/service/post/PostServiceImpl.kt b/src/main/kotlin/dev/usbharu/hideout/core/service/post/PostServiceImpl.kt index 02bdacd2..6e58fe8d 100644 --- a/src/main/kotlin/dev/usbharu/hideout/core/service/post/PostServiceImpl.kt +++ b/src/main/kotlin/dev/usbharu/hideout/core/service/post/PostServiceImpl.kt @@ -83,7 +83,7 @@ class PostServiceImpl( return try { val save = postRepository.save(post) timelineService.publishTimeline(post, isLocal) - actorRepository.save(actor.incrementPostsCount()) +// actorRepository.save(actor.incrementPostsCount()) save } catch (_: DuplicateException) { postRepository.findByApId(post.apId) ?: throw PostNotFoundException.withApId(post.apId)