mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Implement room purge after last local user leaves. (resolves #83)
Consume a state_lock for room delete call. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
7c19d1e1ff
commit
aa413ae601
5 files changed
+121
-35
No files matched your search
@@ -1929,6 +1929,19 @@ pub struct Config {
|
||||
#[serde(default)]
|
||||
pub hydra_backports: bool,
|
||||
|
||||
/// Delete rooms when the last user from this server leaves. This feature is
|
||||
/// experimental and for the purpose of least-surprise is not enabled by
|
||||
/// default but can be enabled for deployments interested in conserving
|
||||
/// space. It may eventually default to true in a future release.
|
||||
///
|
||||
/// Note that not all pathways which can remove the last local user
|
||||
/// currently invoke this operation, so in some cases you may find the room
|
||||
/// still exists.
|
||||
///
|
||||
/// default: false
|
||||
#[serde(default)]
|
||||
pub delete_rooms_after_leave: bool,
|
||||
|
||||
// external structure; separate section
|
||||
#[serde(default)]
|
||||
pub blurhashing: BlurhashConfig,
|
||||
|
||||
Reference in new issue
Block a user