mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: adding suffix for user data folder when current cloud type is appflowy cloud (#3918)
* fix: load database fail caused by spawning long run task * chore: yield long run task * chore: fmt * chore: update client api * feat: copy data between server * ci: fix af cloud test
This commit is contained in:
@ -195,6 +195,8 @@ impl AppFlowyCollabBuilder {
|
||||
{
|
||||
let cloud_storage_type = self.cloud_storage.read().await.storage_source();
|
||||
let collab_object = self.collab_object(uid, object_id, object_type)?;
|
||||
let span = tracing::span!(tracing::Level::TRACE, "collab_builder", object_id = %object_id);
|
||||
let _enter = span.enter();
|
||||
match cloud_storage_type {
|
||||
CollabSource::AFCloud => {
|
||||
#[cfg(feature = "appflowy_cloud_integrate")]
|
||||
@ -259,6 +261,7 @@ impl AppFlowyCollabBuilder {
|
||||
}
|
||||
|
||||
collab.lock().initialize();
|
||||
trace!("collab initialized: {}", object_id);
|
||||
Ok(collab)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user