mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: using zstd as collab_db compression method and Deflated as zip file compression method (#4318)
This commit is contained in:
@ -133,7 +133,7 @@ impl DatabaseManager {
|
||||
CollabType::WorkspaceDatabase,
|
||||
collab_db.clone(),
|
||||
collab_raw_data,
|
||||
&config,
|
||||
config.clone(),
|
||||
);
|
||||
let workspace_database =
|
||||
WorkspaceDatabase::open(uid, collab, collab_db, config, collab_builder);
|
||||
@ -461,7 +461,7 @@ impl DatabaseCollabService for UserDatabaseCollabServiceImpl {
|
||||
object_type: CollabType,
|
||||
collab_db: Weak<CollabKVDB>,
|
||||
collab_raw_data: CollabDocState,
|
||||
config: &CollabPersistenceConfig,
|
||||
persistence_config: CollabPersistenceConfig,
|
||||
) -> Arc<MutexCollab> {
|
||||
block_on(self.collab_builder.build_with_config(
|
||||
uid,
|
||||
@ -469,7 +469,7 @@ impl DatabaseCollabService for UserDatabaseCollabServiceImpl {
|
||||
object_type,
|
||||
collab_db,
|
||||
collab_raw_data,
|
||||
config,
|
||||
persistence_config,
|
||||
CollabBuilderConfig::default().sync_enable(true),
|
||||
))
|
||||
.unwrap()
|
||||
|
Reference in New Issue
Block a user