mirror of https://github.com/usbharu/Hideout.git
perf: Updateが多発する問題の一時的な修正
This commit is contained in:
parent
85d07e31f3
commit
ce837a0494
|
@ -83,7 +83,7 @@ class PostServiceImpl(
|
||||||
return try {
|
return try {
|
||||||
val save = postRepository.save(post)
|
val save = postRepository.save(post)
|
||||||
timelineService.publishTimeline(post, isLocal)
|
timelineService.publishTimeline(post, isLocal)
|
||||||
actorRepository.save(actor.incrementPostsCount())
|
// actorRepository.save(actor.incrementPostsCount())
|
||||||
save
|
save
|
||||||
} catch (_: DuplicateException) {
|
} catch (_: DuplicateException) {
|
||||||
postRepository.findByApId(post.apId) ?: throw PostNotFoundException.withApId(post.apId)
|
postRepository.findByApId(post.apId) ?: throw PostNotFoundException.withApId(post.apId)
|
||||||
|
|
Loading…
Reference in New Issue