Skip to content

Commit

Permalink
refactor/SSE 초기화 정각마다 초기화 되게끔 다시 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Contingency1 committed Aug 30, 2024
1 parent 2b5a5ec commit 20a73c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export class TasksService {
}
}

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

0 comments on commit 20a73c8

Please sign in to comment.