This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add --run-background-updates
option to update_database
script.
#10954
Merged
richvdh
merged 18 commits into
matrix-org:develop
from
Fizzadar:update-database-background-updates-option
Oct 6, 2021
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
cbb0755
Add `--run-background-updates` option to `update_database` script.
Fizzadar ebd1932
Add changelog for PR #10954.
Fizzadar d3daf71
Move running background updates into separate function.
Fizzadar 6da4175
Move main script block into separate function.
Fizzadar 57d6d44
Add attribution to changelog entry.
Fizzadar a9462fe
Move DB update script to `scripts/update_synapse_database`.
Fizzadar 7cabb6c
Ensure background updates are run in synapse port db test.
Fizzadar 12e4d11
Add `updates/update_synapse_database` to Debian packaging config.
Fizzadar 8e0a888
Update help text for Synapse configuration file.
Fizzadar c56d2a4
Update help text for background updates flag.
Fizzadar 2d5780c
Update changelog.
Fizzadar 2bf2882
Update text for update synapase database script.
Fizzadar 8c3d0e5
Add `--run-background-updates` flag in `make_full_schema.sh` script.
Fizzadar b270bf9
Add Debian package changelog entry.
Fizzadar 146720b
Merge branch 'develop' into update-database-background-updates-option
richvdh fb90b63
Fix argparse flag in `update_synapse_database` script.
Fizzadar e177cbb
Merge branch 'develop' into update-database-background-updates-option
richvdh 5459789
Fix quotes.
Fizzadar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Include an `update_synapse_database` script in the distribution. Contributed by @Fizzadar at Beeper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo here:
--run-background-updates
should come at the end. (Argparse thinks we've forgotten to specify a value for--database-config
). Will fix as part of #13715.