Skip to content

Commit

Permalink
SSE 00분, 30분마다 초기화되게끔 다시 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Contingency1 committed Sep 5, 2024
1 parent c467e4d commit d5b78e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class TasksService {
}

// 0 0 * * * * 정각마다 초기화
@Cron("0,30 * * * * *")
@Cron("0 0,30 * * * *")
deleteSseConnection() {
for (let i = 1; i <= 3; i++) {
try {
Expand Down

0 comments on commit d5b78e5

Please sign in to comment.