Skip to content
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

Notify Router only on specific column updates #1361

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

theseanything
Copy link
Contributor

Currently, we send a notification to the Router to update route tables whenever there is any change to the content_items (or publish_intents) tables. However, the Router only needs to update the route table when changes affect specific columns that determine the routes.

This change should reduce unnecessary reloading.

@theseanything theseanything requested a review from a team December 9, 2024 13:48
@theseanything theseanything force-pushed the more-selective-router-notificatiosn branch 2 times, most recently from 36b17d5 to 2198875 Compare December 9, 2024 15:27
Currently, we send a notification to the Router to update route tables
whenever there is any change to the content_items (or publish_intents)
tables. However, the Router only needs to update the route table when
changes affect specific columns that determine the routes.

This change should reduce unnecessary reloading.
@theseanything theseanything force-pushed the more-selective-router-notificatiosn branch from 2198875 to d00c048 Compare December 9, 2024 15:31
@theseanything theseanything merged commit c453cfa into main Dec 10, 2024
9 checks passed
@theseanything theseanything deleted the more-selective-router-notificatiosn branch December 10, 2024 13:27
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.

3 participants