Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt committed Sep 24, 2024
1 parent a890138 commit af55c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions rust/rsc/src/bin/rsc/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use clap::Parser;
use itertools::Itertools;
use migration::{Migrator, MigratorTrait};
use rlimit::Resource;
use rsc::database::{self, DeletedBlob};
use rsc::database;
use sea_orm::{prelude::Uuid, ConnectOptions, Database, DatabaseConnection};
use std::collections::HashMap;
use std::io::{Error, ErrorKind};
Expand Down Expand Up @@ -280,7 +280,7 @@ fn launch_blob_eviction(
tracing::info!(%deleted, "N blobs deleted for eviction");

// Delete blobs from blob store
let chunked: Vec<Vec<DeletedBlob>> = blobs
let chunked: Vec<Vec<database::DeletedBlob>> = blobs
.into_iter()
.chunks(config.blob_eviction.file_chunk_size)
.into_iter()
Expand Down
5 changes: 0 additions & 5 deletions rust/rsc/src/bin/rsc/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ pub struct File {
pub struct Dir {
pub path: String,
pub mode: i32,
<<<<<<< Updated upstream
=======
// Optional member to allow for soft migration
pub hidden: Option<bool>,
>>>>>>> Stashed changes
}

#[derive(Debug, Deserialize, Serialize)]
Expand Down

0 comments on commit af55c3e

Please sign in to comment.