Skip to content

Commit

Permalink
Revert "feat: 설문 작성 시 통계 작업 비동기 처리(#92)"
Browse files Browse the repository at this point in the history
This reverts commit 37abcf2.
  • Loading branch information
eun-seong committed Feb 24, 2024
1 parent 0f8eca2 commit f1fc0f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
20 changes: 0 additions & 20 deletions src/main/java/com/dnd/namuiwiki/config/AsyncConfiguration.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.dnd.namuiwiki.domain.survey.type.Relation;
import com.dnd.namuiwiki.domain.user.entity.User;
import lombok.RequiredArgsConstructor;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import java.util.List;
Expand All @@ -25,7 +24,6 @@ public class StatisticsService {
private final DashboardRepository dashboardRepository;
private final StatisticsRepository statisticsRepository;

@Async
public void updateStatistics(Survey survey) {
User owner = survey.getOwner();
Period period = survey.getPeriod();
Expand Down

0 comments on commit f1fc0f7

Please sign in to comment.