Skip to content

[datastore] Stop crons on ctx's cancels, cancel ctx when error occur during RunHTTPServer#1410

Open
the-glu wants to merge 3 commits intointeruss:masterfrom
Orbitalize:cancel_crons_on_close
Open

[datastore] Stop crons on ctx's cancels, cancel ctx when error occur during RunHTTPServer#1410
the-glu wants to merge 3 commits intointeruss:masterfrom
Orbitalize:cancel_crons_on_close

Conversation

@the-glu
Copy link
Copy Markdown
Contributor

@the-glu the-glu commented Mar 31, 2026

This follow #1409

Cron where partially manually canceled in original code in one case. That case has been removed in #1409 .

This now fix the situation by canceling cron on context's cancel and by canceling context in all error return path of RunHTTPServer, ensuring they are canceled correctly.

(e.g. scd's cron was never canceled in original code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant