Why does it take about "many" 5-minute-cycles to get a "two-minute DOWN service" as UP again? #240
-
I have a daily update-policy for my docker-based services: Pulling, then checking if newer image has been downloaded and if this is the case: stop and start docker container. Usually this takes about less than two minute(s) (also in this case below) until "ready": https://thomasmerz.github.io/upptime/incident/29
First I thought, this might be due to my
But everything "important" should run every 5 minutes… 🤔 Q: Why does upptime need so much 5-minute cycles to determine the service as UP again? I expected that it would has been UP within the next 5-minute cycle… (which has been indeed started again at 07:31:52 after being stopped at 07:30:11) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is because the next Upptime workflow ran after 25 minutes, not after 5 minutes. It actually did indeed mark your site as up the next time Uptime CI ran, but the problem is that GitHub sometimes runs your CI slower than every 5 minutes. Sometimes, it could be as slow as once every hour, sometimes it runs every 5 minutes. You can see here that indeed Uptime CI is running slower: https://github.com/thomasmerz/upptime/actions?query=workflow%3A%22Uptime+CI%22 For more details: https://upptime.js.org/blog/2021/01/22/github-actions-schedule-not-working |
Beta Was this translation helpful? Give feedback.
This is because the next Upptime workflow ran after 25 minutes, not after 5 minutes. It actually did indeed mark your site as up the next time Uptime CI ran, but the problem is that GitHub sometimes runs your CI slower than every 5 minutes. Sometimes, it could be as slow as once every hour, sometimes it runs every 5 minutes.
You can see here that indeed Uptime CI is running slower: https://github.com/thomasmerz/upptime/actions?query=workflow%3A%22Uptime+CI%22
For more details: https://upptime.js.org/blog/2021/01/22/github-actions-schedule-not-working