Skip to content

Commit 316b20d

Browse files
chore: add comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a9c6d6d commit 316b20d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/schedule/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ pub async fn check_repository_links(repo_url: &str, interval_duration: Duration)
4545
}
4646
println!("링크 확인 완료. 다음 간격 대기...");
4747
},
48+
// This branch listens for the `CancellationToken` to be triggered,
49+
// allowing the periodic check loop to terminate cleanly upon cancellation.
4850
_ = token.cancelled() => {
4951
println!("[{}] 체크 작업이 취소되었습니다.", repo_url);
5052
break;

0 commit comments

Comments
 (0)