You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Synapse will now reload [cache config](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caching) when it receives a [SIGHUP](https://en.wikipedia.org/wiki/SIGHUP) signal.
Copy file name to clipboardExpand all lines: docs/usage/configuration/config_documentation.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1130,6 +1130,23 @@ caches:
1130
1130
expire_caches: false
1131
1131
sync_response_cache_duration: 2m
1132
1132
```
1133
+
1134
+
### Reloading cache factors
1135
+
1136
+
The cache factors (i.e. `caches.global_factor` and `caches.per_cache_factors`) may be reloaded at any time by sending a
1137
+
[`SIGHUP`](https://en.wikipedia.org/wiki/SIGHUP) signal to Synapse using e.g.
1138
+
1139
+
```commandline
1140
+
kill -HUP [PID_OF_SYNAPSE_PROCESS]
1141
+
```
1142
+
1143
+
If you are running multiple workers, you must individually update the worker
1144
+
config file and send this signal to each worker process.
1145
+
1146
+
If you're using the [example systemd service](https://github.com/matrix-org/synapse/blob/develop/contrib/systemd/matrix-synapse.service)
1147
+
file in Synapse's `contrib` directory, you can send a `SIGHUP` signal by using
0 commit comments