Skip to content

Move registrations off the main worker #18552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Jun 13, 2025

This is mainly moving a few store methods around. Note that this doesn't yet remove the replication servlet to avoid breaking during rollout.

@sandhose sandhose force-pushed the quenting/user-registrations-off-main branch from 482710c to 8011a38 Compare June 13, 2025 17:49
@sandhose sandhose marked this pull request as ready for review June 16, 2025 11:33
@sandhose sandhose requested a review from a team as a code owner June 16, 2025 11:33
Comment on lines -769 to -770
# Only call the account validity module(s) on the main process, to avoid
# repeating e.g. database writes on all of the workers.
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe it'd be worth adding some warning somewhere (upgrade notes? elsewhere?) about the fact this callback will now run on any worker capable of registration.

Not sure if we have active customers relying on it, or know of any community use cases.

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.

2 participants