chore: bump client api that deduplicate sync message (#4972)

* chore: bump client api

* chore: update log

* chore: bump client api
This commit is contained in:
Nathan.fooo
2024-03-24 07:31:41 +08:00
committed by GitHub
parent b307312a71
commit 3f0b3478c1
12 changed files with 195 additions and 179 deletions

View File

@ -238,7 +238,6 @@ impl DatabaseManager {
Ok(editor)
}
#[tracing::instrument(level = "debug", skip_all)]
pub async fn close_database_view<T: AsRef<str>>(&self, view_id: T) -> FlowyResult<()> {
let view_id = view_id.as_ref();
let wdb = self.get_workspace_database().await?;

View File

@ -117,7 +117,6 @@ impl DatabaseEditor {
/// Returns bool value indicating whether the database is empty.
///
#[tracing::instrument(level = "debug", skip_all)]
pub async fn close_view(&self, view_id: &str) -> bool {
// If the database is empty, flush the database to the disk.
if self.database_views.editors().await.len() == 1 {