fix: crane

This commit is contained in:
Elijah McMorris 2024-08-29 21:49:35 -07:00
parent 53e3ffe0dd
commit 6dcb9fd043
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
9 changed files with 166 additions and 148 deletions

View file

@ -39,7 +39,7 @@ async fn main() -> Result<(), Error> {
None::<Surreal<Client>>,
reader,
Some(pb.clone()),
500,
1_000,
1_000,
)
.await?;

View file

@ -241,6 +241,8 @@ impl CreateVersion {
let file_path = format!("data/temp/{}.surql", file_name);
tokio::fs::create_dir_all("data/temp").await?;
db_mem.export(&file_path).await?;
db.import(&file_path).await?;