mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
perf: Updateが多発する問題の一時的な修正
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user