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 4, 2024
1 parent d437040 commit c467e4d
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 0 * * * *")
@Cron("0,30 * * * * *")
deleteSseConnection() {
for (let i = 1; i <= 3; i++) {
try {
Expand Down

0 comments on commit c467e4d

Please sign in to comment.