mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Feat/restore revision (#1549)
* chore: write snapshot * chore: add tests * chore: sync close * chore: restore from snapshot * chore: delete invalid revisions after restored from snapshot * chore: create default view if it fail to deserialize view's revisions when there is no snapshot * chore: auto generate snapshot Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
@ -1,12 +1,9 @@
|
||||
mod layer;
|
||||
|
||||
use log::LevelFilter;
|
||||
|
||||
use tracing::subscriber::set_global_default;
|
||||
|
||||
use crate::layer::*;
|
||||
use lazy_static::lazy_static;
|
||||
use log::LevelFilter;
|
||||
use std::sync::RwLock;
|
||||
use tracing::subscriber::set_global_default;
|
||||
use tracing_appender::{non_blocking::WorkerGuard, rolling::RollingFileAppender};
|
||||
use tracing_bunyan_formatter::JsonStorageLayer;
|
||||
use tracing_log::LogTracer;
|
||||
|
Reference in New Issue
Block a user