remove auto for other platforms
This commit is contained in:
parent
85a90e3f5f
commit
1b10e016c2
|
@ -165,11 +165,6 @@ pub fn rotational_from_df_output(df_out: Vec<u8>) -> Option<PathBuf> {
|
|||
}
|
||||
|
||||
impl CompactionProfile {
|
||||
/// Just default for other platforms.
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
pub fn auto(_db_path: &::std::path::Path) -> CompactionProfile {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Default profile suitable for SSD storage
|
||||
pub fn ssd() -> CompactionProfile {
|
||||
|
|
Loading…
Reference in New Issue