mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
Add config circuit-breaker for heroes calculations during sync.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
e60e86e9ed
commit
120ab1d068
4 files changed
+45
-12
No files matched your search
@@ -1336,6 +1336,17 @@ pub struct Config {
|
||||
#[serde(default)]
|
||||
pub push_everything: bool,
|
||||
|
||||
/// Setting to false disables the heroes calculation made by sliding and
|
||||
/// legacy client sync. The heroes calculation is mandated by the Matrix
|
||||
/// specification and your client may not operate properly unless this
|
||||
/// option is set to true.
|
||||
///
|
||||
/// This option is intended for custom software deployments seeking purely
|
||||
/// to minimize unused resources; the overall savings are otherwise
|
||||
/// negligible.
|
||||
#[serde(default = "true_fn")]
|
||||
pub calculate_heroes: bool,
|
||||
|
||||
/// Allow local (your server only) presence updates/requests.
|
||||
///
|
||||
/// Note that presence on tuwunel is very fast unlike Synapse's. If using
|
||||
|
||||
Reference in new issue
Block a user