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
Make SIGHUP
reload and update cache factor values
#12373
Labels
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Comments
erikjohnston
added
the
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
label
Apr 5, 2022
Is this as simple as having a SIGHUP handler call this function? synapse/synapse/config/cache.py Lines 264 to 274 in 4586119
|
Oh no, we'd need to get the homeserver to reparse the config first. |
We do something similar for logging config near synapse/synapse/config/logger.py Line 345 in 8d156ec
|
That's a helpful pointer, thanks. WIll still have to work out how to wrangle our config class magic. |
Yeah, although I realize now it isn't quite the same since the logging stuff has a separate config file. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
This would be very useful when you want to update cache factors across many workers without having to restart them all (e.g. when they're under load and restarting would cause issues)
The text was updated successfully, but these errors were encountered: