Skip to content

Conversation

@sandhose
Copy link
Member

@sandhose sandhose commented Oct 9, 2024

This revamps how we gracefully shutdown, so that it's easier to spawn multiple tasks and have them gracefully shutdown.

At its core, it uses CancellationToken to propagate cancellation to all tasks, and a TaskTracker to keep track of tasks we want to wait for completion on shutdown.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 9, 2024

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 22489ac
Status: ✅  Deploy successful!
Preview URL: https://966dbdca.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-new-queue-cancellat.matrix-authentication-service-docs.pages.dev

View logs

Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@sandhose sandhose merged commit 685b27d into main Oct 10, 2024
17 checks passed
@sandhose sandhose deleted the quenting/new-queue/cancellation-token branch October 10, 2024 08:49
@sandhose sandhose added A-CLI Related to the command line utility T-Enhancement New feature of request labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Related to the command line utility T-Enhancement New feature of request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants