diff --git a/docs/technical-guide/configuration.md b/docs/technical-guide/configuration.md
index 7770c75f2..f944dbd45 100644
--- a/docs/technical-guide/configuration.md
+++ b/docs/technical-guide/configuration.md
@@ -489,6 +489,26 @@ PENPOT_STORAGE_ASSETS_S3_ENDPOINT:
+You need to be very careful when configuring automatic versioning, as it can significantly impact the size of your database. If you configure automatic versioning, you'll need to monitor this impact; if you're unsure about this management, we recommend leaving the default settings and using manual versioning. +
+ +This is how configuration looks for auto-file-snapshot + +```bash +PENPOT_FLAGS: enable-auto-file-snapshot # Enable automatic version saving + +# Backend +PENPOT_AUTO_FILE_SNAPSHOT_EVERY: 5 # How many save operations trigger the auto-save-version? +PENPOT_AUTO_FILE_SNAPSHOT_TIIMEOUT: "1h" # How often is an automatic save forced even if the `every` trigger is not met? +``` + +Setting custom values for auto-file-snapshot does not change the behaviour for manual versions. + ## Frontend In comparison with backend, frontend only has a small number of runtime configuration diff --git a/frontend/src/app/main/data/team.cljs b/frontend/src/app/main/data/team.cljs index 43e169025..383183a6c 100644 --- a/frontend/src/app/main/data/team.cljs +++ b/frontend/src/app/main/data/team.cljs @@ -102,7 +102,11 @@ features (get team :features)] (rx/of #(assoc % :permissions permissions) (features/initialize (or features #{})) - (fetch-members team-id)))))))) + (fetch-members team-id)))))) + + ptk/EffectEvent + (effect [_ _ _] + (swap! storage/global assoc ::current-team-id team-id)))) (defn initialize-team [team-id]