getsentry / uptime-checker

Service responsible for powering Sentry's uptime detection features
Other
3 stars 0 forks source link

feat: Add graceful shutdown of the scheduler via CancellationToken #91

Closed evanpurkhiser closed 6 days ago

evanpurkhiser commented 6 days ago

This will actually wait for the last tick to complete before just outright exiting. This does NOT wait for the actual checks to complete, only scheduling of them.

In the future we can add some additional logic to make sure an entire tick completes before we fully shut down