chore: recreate snapshot table & remove old data (#4322)

* chore: recreate snapshot table & remove old data

* chore: disable test

* chore: fmt
This commit is contained in:
Nathan.fooo
2024-01-07 13:59:39 +08:00
committed by GitHub
parent 76416cfdba
commit ba482a30a3
19 changed files with 111 additions and 154 deletions

View File

@ -94,7 +94,7 @@ impl DatabaseManager {
collab_builder: self.collab_builder.clone(),
cloud_service: self.cloud_service.clone(),
};
let config = CollabPersistenceConfig::new().snapshot_per_update(10);
let config = CollabPersistenceConfig::new().snapshot_per_update(100);
let mut collab_raw_data = CollabDocState::default();
// If the workspace database not exist in disk, try to fetch from remote.