Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Factor out backgroung updates #6178

Merged
merged 14 commits into from
Oct 9, 2019
Merged

Conversation

babolivier
Copy link
Contributor

Part of the ongoing work on synapse_port_db, factor out the background updates handlers and registration to dedicated stores so that a script can instantiate a subset of the DataStore to only run them and not the whole thing, which would start other background processes we might not want to run.

This PR doesn't include factoring out the StatsStore, because doing so on this class is not trivial, and it doesn't register any looping call or background process (apart from background updates).

@babolivier babolivier requested a review from a team October 7, 2019 16:53
changelog.d/6178.bugfix Show resolved Hide resolved
synapse/storage/client_ips.py Outdated Show resolved Hide resolved
synapse/storage/client_ips.py Outdated Show resolved Hide resolved
synapse/storage/registration.py Outdated Show resolved Hide resolved
synapse/storage/state.py Show resolved Hide resolved
@babolivier babolivier requested a review from a team October 8, 2019 13:50
@babolivier babolivier merged commit 59d6290 into develop Oct 9, 2019
@hawkowl hawkowl deleted the babolivier/factor_out_bg_updates branch October 10, 2019 09:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants