Skip to content

Commit

Permalink
[#23] CrawlingService 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
chaiminwoo0223 committed Jun 9, 2024
1 parent 94dc842 commit 8232f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/main/java/skhu/jijijig/service/CrawlingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public void scheduleCrawlingTasks() {
}

@Async
@Transactional
public void performCrawling(String url, String label, String rowsCssSelector) {
System.out.println(label);
crawlWebsite(url, label, rowsCssSelector);
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spring:
jpa:
database: mysql
hibernate:
ddl-auto: create
ddl-auto: update
show-sql: true
properties:
hibernate:
Expand Down Expand Up @@ -45,4 +45,4 @@ server:
jwt:
secret: ${JWT_SECRET}
access-token-validity-in-milliseconds: ${ACCESS_SECOND}
refresh-token-validity-in-milliseconds: ${REFRESH_SECOND}
refresh-token-validity-in-milliseconds: ${REFRESH_SECOND}

0 comments on commit 8232f8b

Please sign in to comment.