fix
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 18s

This commit is contained in:
2025-12-13 10:21:11 +09:00
parent 053d0e2b26
commit bd20f7af19
7 changed files with 114 additions and 55 deletions

View File

@@ -480,6 +480,8 @@ fn bot(c: &Context) {
loop {
c_bot(c);
c_bot_feed(c);
// 10秒待機してCPU使用率を抑制
std::thread::sleep(std::time::Duration::from_secs(10));
}
}
@@ -487,6 +489,7 @@ fn feed_watch(c: &Context) {
refresh(c);
loop {
c_feed_watch(c);
std::thread::sleep(std::time::Duration::from_secs(10));
}
}